(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 in data/newtype declaration
This is rather confusing, as the error comes not from the data declaration in the 
file, but
because on the next line "class" was accidentally typed, rather than "instance".

Attachment: Haskell.hs
Description: Binary data

Reply via email to