A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/349003.html below:

Parametric Polymorphism

Parametric Polymorphism Parametric PolymorphismCatalin Marinas catalin.marinas at gmail.com
Mon Sep 26 05:27:36 EDT 2005
"Kay Schluehr" <kay.schluehr at gmx.net> wrote:
> Catalin Marinas wrote:
>> Hi,
>>
>> Sorry if this was previously discussed but it's something I miss in
>> Python. I get around this using isinstance() but it would be cleaner
>> to have separate functions with the same name but different argument
>> types. I think the idea gets quite close to the Lisp/CLOS
>> implementation of methods.
>
> Guido himself addressed multimethods in his Artima blog:
>
> http://www.artima.com/weblogs/viewpost.jsp?thread=101605
>
> See also the subsequent discussion about subtyping problems.

That's a very interesting read. As I said, the idea is not new but I
couldn't find a Python implementation (didn't search long enough).

Are there any plans for this to be integrated in a future version of
Python?

-- 
Catalin

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4