#haskell - Sat 5 May 2007 between 02:25 and 02:57



ventonegrodcoutts: nevermind, solved :-)
sioraiocht(-4) :: Word8
> (-4) :: Word8
lambdabot252
donsdpiponi: nope, but if you find out something, do let us know.
dpiponiWill do. I'd like to pott the code for the Make Controller. Should be almost trivial judging by the C code it generates.
syntaxfreeit's a wonderful world where people like me can be in the same chatroom as people like sigfpe.
but hey, is there a decimal float type in Haskell?
ddariusThere is a library referenced on haskell.org
syntaxfreecool.
sioraiocht@type liftIO . char
lambdabotCouldn't match expected type `IO a' against inferred type `Doc'
In the second argument of `(.)', namely `char'
sioraiocht@type liftIO . getChar
lambdabotCouldn't match expected type `a -> IO a1'
against inferred type `IO Char'
johanatan@type
lambdabot[1 of 2] Compiling ShowQ ( scripts/ShowQ.hs, interpreted )
[2 of 2] Compiling L ( L.hs, interpreted )
johanatan@type map (\((n,t):xs) -> (n:map fst xs,t)) . groupBy (\x y -> snd x == snd y)
lambdabotforall a b. (Eq b) => [(a, b)] -> [([a], b)]
johanatanhmm.. i'm getting 'parse error on input '\' for the statement above
i'm assuming it's the first '\'
@type map (\((n,t):xs) -> (n:map fst xs,t)) . groupBy (\x y -> snd x == snd y)
lambdabotforall a b. (Eq b) => [(a, b)] -> [([a], b)]
dolioIs that the whole expression?
johanatan@type map (\(([n],t):xs) -> (n:map fst xs,t)) . groupBy (\x y -> snd x == snd y)
lambdabotOccurs check: cannot construct the infinite type: a = [a]
Expected type: [(a, b)]
johanatanyea
dolioMaybe you can paste some more context.
@paste
lambdabotHaskell pastebin: http://hpaste.org/new
johanatanwell, that's it... someone gave that earlier.. but, i can paste what i'm trying to do with that statement
dolioIt's possible that could help. I don't see anything wrong with it in itself.
Obviously lambdabot doesn't either. :)
johanatantrue, but ghci does... i'll try it in an empty file by itself
LoganCapaldocould you be having layout issues?
oh not in ghci I guess

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 

IrcArchive