[Haskell-cafe] Generics Versus Parametric Polymorphism
Alp Mestan
alp at mestan.fr
Wed Mar 11 03:35:18 EDT 2009
>
> Parametric polymorphism is kinda boring in Haskell -- since it's been
> there since the beginning.
>
> We tend to reserve the term "generics" for higher order, and fancier,
> polymorphism. These kinds of things:
>
> http://hackage.haskell.org/packages/archive/pkg-list.html#cat:generics
>
> -- Don
>
I think he was refering to "Java Generics", this kind of things.
Java's generics are much less powerful than parametric polymorphism in
Haskell.
--
Alp Mestan
In charge of the C++ section on Developpez.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090311/677d636f/attachment.htm
More information about the Haskell-Cafe
mailing list