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."
- RE: A proposal of new warning Wojciech Moczydlowski, Jr
- RE: A proposal of new warning Simon Peyton-Jones
