
21 Apr
2005
21 Apr
'05
11:16 a.m.
Hi, I'm trying to investigate the list monad. I program instance Monad [] where xs >= f = concat ( map f xs ) return x = [x] a = [1,2,3] b = "there" do { x <- a y <- b return (x , y) } And I get the error Syntax error in input (unexpected backslash (lambda)) Jan