[Haskell-cafe] do... error

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


hi
 
 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.
 
Ryan
_________________________________________________________________
Get free emoticon packs and customisation from Windows Live. 
http://www.pimpmylive.co.uk
-------------- 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