[Haskell-cafe] do... error

Ryan Bloor ryanbloor at hotmail.com
Sat Dec 8 21:38:32 EST 2007

 test :: Parser (Char,Char) test  = do x <- item               item               y <- item               return (x,y)
How come this brings an error saying that after do {....} it must end with an expression.
Get free emoticon packs and customisation from Windows Live. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20071209/681af8ff/attachment.htm

More information about the Haskell-Cafe mailing list