On Sep 6, 8:02 am, "Marco Bizzarri" <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 5, 2008 at 9:16 PM, Bruno Desthuilliers
>
> <[EMAIL PROTECTED]> wrote:
> > Marco Bizzarri a écrit :
>
> >> Just a question: "generic functions" are not meant in the sense of
> >> "generic functions" of CLOS, am I right?
>
> > Nope. Just "generic" in the sense that they accept any object implementing a
> > very minimal interface.
>
> > If you want something like CLOS multimethods, you may be interested in
> > Philip Eby's ruledispatch.
>
> Even though I loved them when I used at university, I'm not looking
> for them right now... but nice to know that they are available under
> python :-)

Actually they are already available in the standard library but they
are undocumented. See for instance
this recent blog post of mine:

http://www.artima.com/weblogs/viewpost.jsp?thread=237764

(as well as the comment below by P.J. Eby)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to