RE: No instance for `Eq (c r w)' when deriving classes for `Trans '
BETA, but not in > GHC-4.00: > > data Trans c i r w = Trans [c r w] i [c r w] [c r w] >deriving (Eq,Show) > > > GHC complains: > Trans.hs:1: > No instance for `Eq (c r w)' > When deriving classes for `Trans' > > >
No instance for `Eq (c r w)' when deriving classes for `Trans'
Here is some code that works well in the Hugs 98 BETA, but not in GHC-4.00: data Trans c i r w = Trans [c r w] i [c r w] [c r w] deriving (Eq,Show) GHC complains: Trans.hs:1: No instance for `Eq (c r w)' When deriving classes for `Trans' Hugs merril