GHC doesn't accept data types with 0 fielddecls

Ian Lynagh igloo at earth.li
Sun Dec 16 16:33:41 EST 2001


Hi guys,

With the module

    data Foo = Foo {}

ghc tells me

    tt.lhs:2: parse error on input `}'

while the report allows this.


Thanks
Ian





More information about the Glasgow-haskell-bugs mailing list