[Haskell] best way to do generic programming?

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Fri Jul 1 08:06:45 EDT 2005

Arka al Eel <arkaaleel at gmail.com> writes:

> Haskell does not seem to have an easy way to do this.  After looking
> through some papers I found lots of things that *might* handle this,
> like Generic Haskell, "scrap your boilerplate", Drift, etc. Now I'm
> not sure what works best for real world, bread and butter programming.

You might find this interesting:

    TypeCase: A Design Pattern for Type-Indexed Functions

It compares a couple of ways of achieving generic programming.


More information about the Haskell mailing list