> > 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
- RFC 97 (v1) prototype-based method overloading Perl6 RFC Librarian
- Re: RFC 97 (v1) prototype-based method overloadin... Jonathan Scott Duff
- Re: RFC 97 (v1) prototype-based method overloadin... Ask Bjoern Hansen
- Re: RFC 97 (v1) prototype-based method overlo... Chaim Frenkel
- Re: RFC 97 (v1) prototype-based method ov... Piers Cawley
- Re: RFC 97 (v1) prototype-based metho... Chaim Frenkel
- Re: RFC 97 (v1) prototype-based ... Peter Buckingham
- Re: RFC 97 (v1) prototype-ba... Nick Ing-Simmons
- Re: RFC 97 (v1) prototype-based method ov... Damian Conway
- Re: RFC 97 (v1) prototype-based metho... Piers Cawley
- Re: RFC 97 (v1) prototype-based method overloadin... Nick Ing-Simmons
- Re: RFC 97 (v1) prototype-based method overlo... Graham Barr
- Re: RFC 97 (v1) prototype-based method ov... David L. Nicol
- RE: RFC 97 (v1) prototype-based method overloadin... Evan Howarth
- Re: RFC 97 (v1) prototype-based method overlo... Chaim Frenkel
- Re: RFC 97 (v1) prototype-based method ov... Piers Cawley