> For
>
> foo = let
> x = (1, 2
> y = 3
> in
> fst x + y
>
> GHC 4.04 gives me
>
> Main.hs:3: parse error on input `'
>
> Interesting, but not very informative ;-)
I know about this one, but haven't got around to fixing it yet. The parse
error is on a semicolon generated by the layout system, as you probably
guessed, which is why there's no token available to print in the error
message. Any thoughts on what a suitable error message should be? I'd
thought something along the lines of
Main.hs:3: parse error on input ';' (inserted by layout)
re: the multi-line string literals, this one should be easier to fix. I'll
take a look at it today.
Cheers,
Simon