OO in Python? ^^

bonono at gmail.com bonono at gmail.com
Thu Dec 15 00:53:27 EST 2005


Alex Martelli wrote:
> <bonono at gmail.com> wrote:
>
> > > those convoluted templates that were added to the language as
> > > an afterthought.
> > I don't see this in Haskell.
>
> Well, historically templates HAVE been added to Haskell "as an
> afterthought" (well after the rest of the language was done), and
> judging mostly from
> <http://research.microsoft.com/~simonpj/papers/meta-haskell/meta-haskell
> .ps> it doesn't seem unfair to call them "convoluted"...
>
I think I was talking about the need to add templates in order for
writing generic functions that was mentioned(see the example given
about sum), not in the context you are talking about. You seem to have
skipped the other half of the text I quoted.




More information about the Python-list mailing list