[Haskell-cafe] a newbie's question

SCOTT J. jscott at skynet.be
Thu Apr 21 10:47:00 EDT 2005


I'm beginning to study Haskell, For the following

a = [1,2,3]

b = "there"

do x <- a

      y <- b 

     return (x , y) 

Winhugs cannot run it. Gives

 Syntax error in input (unexpected backslash (

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell-cafe/attachments/20050421/79e5b485/attachment-0001.htm

More information about the Haskell-Cafe mailing list