nullary classes
"Claus Reinke" <[email protected]> Wed, 22 Feb 2006 12:10:20 -0000
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Message-ID | <007b01c637a8$f44d2e10$a23f8351@cr3lt> |
just noticed that hugs accepts those brand-new
zero-parameter classes (take that, ghc!-):
class A where f :: a -> a
Main> :t f
f :: A => a -> a
might be an interesting feature, so I don't request
to remove it, but thought I'd mention it here.
cheers,
claus