If i understand correctly, what we called generics is what so called reflection. It allow you to introspect type structure.
http://haskell.org/ghc/docs/latest/html/libraries/ghc-prim-0.2.0.0/GHC-Generics.html#g:4

On Wed, Oct 19, 2011 at 12:03 AM, yrazes <yrazes@gmail.com> wrote:
Hi,

Maybe you remember my case.
I was trying to compare some aspects of these languages.
Well... I found that I can compare reflection, support for generics, simplicity and safe code.
I just want to ask if you have more information for reflection in Haskell.
I read that there is no enough for dynamics to support complete reflection.
I hope someone can help me this time :)

Julita

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe




--
http://www.yi-programmer.com/blog/