> Date: Wed, 11 Dec 2002 19:15:53 +1100
> From: Damian Conway <[EMAIL PROTECTED]>
> 
> I suspect C<states> may be a method only, so that would be either:
> 
>        my @foos = states $foos:;
> 
> or:
> 
>        my @foos = $foos.states;
> 
> Though, I suppose we might argue that C<states> is as fundamental to Perl 6
> as C<grep> or C<sort>, and so ought to have a built-in as well. Hmmmmmmm.

Can junctions have methods?  How do you tell the difference between
calling a junction's method and calling a method on each of its
states?

Luke

Reply via email to