Main.hs:3: parse error on input ';' (inserted by layout)
Incomplete expression on previous line or incorrect
indentation of the current line.
I think Manuel's suggestion is a definite improvement here.
For interest, another Haskell compiler, nhc98, gives the message
4:5
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 also have the feeling that GHC is sometimes off by a
couple of lines when reporting errors in bigger modules -