[Haskell-cafe] Re: What I wish someone had told me...
dons at galois.com
Thu Oct 16 17:33:04 EDT 2008
> On Thu, 2008-10-16 at 13:53 -0700, Daryoush Mehrtash wrote:
> > So does this mean that the reason for complexity of generics is the
> > Java inheritance?
> > BTW, in addition to the article I posted, This site:
> > http://www.angelikalanger.com/GenericsFAQ/JavaGenericsFAQ.html has a
> > FAQ on Java generics that is 500+ pages long! In Haskell you have
> > parametrized types but I don't think you need 500+ page faq to explain
> > it.
> All you need is a T-shirt: http://www.cafepress.com/skicalc
Indeed, implementing "generics" is an undergraduate exercise, also,
And the full spec. fits in one page (or one tshirt, if that's your
preferred medium for typing rules).
More information about the Haskell-Cafe