Damian Conway <[EMAIL PROTECTED]> writes: > > > 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. Oh, I don't doubt it. My point was that if it *doesn't* get in then it won't be the end of the world (and hopefully there will be improvements in basic dispatch speed that will mean that the multiple hit on the dispatch system entailed by Class::Multimethods won't be quite so gruesome). I'm in the camp that would rather see it in core though. -- Piers
- 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