[Hugs-bugs] nullary classes

Claus Reinke claus.reinke at talk21.com
Wed Feb 22 07:10:20 EST 2006


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


More information about the Hugs-Bugs mailing list