develooper Front page | perl.perl6.internals | Postings from July 2002

Re: Perl6 grammar (take IV)

Thread Previous | Thread Next
Trey Harris
July 6, 2002 17:48
Re: Perl6 grammar (take IV)
Message ID:
In a message dated Sat, 6 Jul 2002, Sean O'Rourke writes:
> - Implicit currying variables ($^a etc) are in.  I thought I had read
>   somewhere they were gone in favor of closure args, but people seem
>   to be using them, and they're not hard to put in.

My understanding is that they still exist as placeholder variables, but
no longer implicitly curry.  I.e.,

{$^a + $^b}

is a synonym for

-> $a, $b {$a + $b}


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