Yes, good point. I've improved the error message. It now reports a
malformed class declaration.
S
| -Original Message-
| From: George Russell [mailto:[EMAIL PROTECTED]]
| Sent: 23 November 2001 13:22
| To: [EMAIL PROTECTED]
| Subject: Confusing GHC error message
|
|
| (Yes, I know
(Yes, I know that's not very impressive, but you must all have been wondering what's
happened to me.)
The attached file, when compiled with ghc5.02.1, -fglasgow-exts
-fallow-overlapping-instances -fallow-undecidable-instances produces the error message
Haskell.hs:11: Illegal left hand side