Re: RFC 97 (v1) prototype-based method overloading

[email protected] (Damian Conway) Wed, 16 Aug 2000 07:47:16 +1000 (EST)
Newsgroups perl.perl6.language.subs
Message-ID <[email protected]>
   > > Why would anyone want to select a different method based upon the
   > > arguments.
   > 
   > Have you seen Class::Multimethods? This kind of despatch can be very
   > useful. Of course, the existence of Class::Multimethods proves that it
   > can be done already so there may be no need to put it in the core.

There's a definite need to put it in the core. Class::Multimethods is too
slow. I'll be proposing this form of multiple dispatch and overloading in a
forthcoming RFC.

Damian