[Haskell-cafe] derivable type classes
ozgurakgun at gmail.com
Wed Mar 24 13:16:57 EDT 2010
Thanks for the pointers again - you are of great help every time!
On 23 March 2010 17:44, Josef Svenningsson <josef.svenningsson at gmail.com>wrote:
> On Tue, Mar 23, 2010 at 11:52 AM, Ozgur Akgun <ozgurakgun at gmail.com>
> > Can a user define a derivable type class of her own? If yes, how?
> GHC has a feature which lets you define classes such that making an
> instance of them is as easy as deriving. It's called Generic classes.
> See GHC's documentation for the details:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe