constraints inside classes

Ross Paterson ross at soi.city.ac.uk
Fri Feb 22 13:04:20 EST 2002


Hugs and GHC (but not NHC) erroneously accept the following:

class Foo a where
        f :: Eq a => a -> Bool



More information about the Glasgow-haskell-bugs mailing list