Easily generating efficient instances for classes

Neil Mitchell ndmitchell at gmail.com
Sun Feb 28 06:58:26 EST 2010


As Bulat says, the Derive package might be a good way to go. I am
happy to accept any new derivations, and you get lots of things for
free - including writing your code using the nice haskell-src-exts
library, preprocessor support, TH support etc.

Thanks, Neil

On Thu, Feb 25, 2010 at 8:57 AM, Bulat Ziganshin
<bulat.ziganshin at gmail.com> wrote:
> Hello Christian,
>
> Thursday, February 25, 2010, 3:57:44 AM, you wrote:
>
>> I am thinking about how to easily generate instances for a class. Each
>
> it's called generic programing. just a few overviews on this topic:
>
> Libraries for Generic Programming in Haskell
> http://www.cs.uu.nl/research/techreps/repo/CS-2008/2008-025.pdf
>
> Comparing Approaches to Generic Programming in Haskell
> http://www.cs.uu.nl/~johanj/publications/ComparingGP.pdf
>
> Derive package is probably the easiest way
>
> Template Haskell is also good although a bit too complex. my own pets:
> http://www.haskell.org/bz/th3.htm
> http://www.haskell.org/bz/thdoc.htm
>
> --
> Best regards,
>  Bulat                            mailto:Bulat.Ziganshin at gmail.com
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>


More information about the Glasgow-haskell-users mailing list