[Haskell-cafe] Classes in type declarations in Hugs

David Menendez zednenem at psualum.com
Mon Dec 6 19:35:31 EST 2004


Simon Peyton-Jones writes:

> | This is where I find ghc's newtype deriving to be incredibly useful.
...
> Aha!  I've always wondered whether anyone uses this feature, which I
> implemented at John Hughes's suggestion.  I'd be interested to know if
> you are alone, or whether others do so too.

I think there were a few times where I would have used it, had I known
about it.
-- 
David Menendez <zednenem at psualum.com> | "In this house, we obey the laws
<http://www.eyrie.org/~zednenem>      |        of thermodynamics!"


More information about the Haskell-Cafe mailing list