1 Jul
2005
1 Jul
'05
12:06 p.m.
Arka al Eel <arkaaleel@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 http://lambda-the-ultimate.org/node/view/786 It compares a couple of ways of achieving generic programming. Regards, Malcolm