derek.a.elkins:
> 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,
https://cgi.cse.unsw.edu.au/~cs3161/08s2/cgi-bin/moin.cgi/Assignment%202
And the full spec. fits in one page (or one tshirt, if that's your
preferred medium for typing rules).
-- Don
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe