develooper Front page | perl.perl6.language | Postings from May 2005

Re: foo(1: 2: 3: 4:) ?

Thread Previous | Thread Next
Autrijus Tang
May 22, 2005 19:28
Re: foo(1: 2: 3: 4:) ?
Message ID:
On Mon, May 23, 2005 at 11:07:59AM +1000, Damian Conway wrote:
> >Hmm, I'm doubting that reflecting how many invocants you have on the
> >caller side is a good idea.  It seems awfully brittle in the face of
> >reimplementation.
> Yep. And that's precisely why we previously ruled against colons in the 
> call syntax (apart from single-dispatch indirect object syntax, of course).

Err, wait.  From S06:

    # Indirect multimethod call...
    handle_event $w, $e: $m;

Is this single-dispatch?  If yes, what does "single-dispatch" really mean?  :)


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About