I've just spent some time looking for a trivial error - I typed:

data A = Either B C

instead of 

type A = Either B C

The correctness of expression: 

data A = Int Int

seems a little strange to me, but since both ghc and hugs support it, it
has to be OK. Nevertheless, ghc could say some warning, when a type
constructor name is the same as imported type name.

Khaliff TM                                   [EMAIL PROTECTED]

"Everything will change on a New Year's day."


Reply via email to