At 02:46 PM 8/9/00 +0000, Perl6 RFC Librarian wrote:
>=head1 TITLE
>
>Builtin: reduce

There are some things unspecified. Specifically 'special' reduce variables. 
You've got:

>         $sum = reduce {$_[0]+$_[1]}     0, @numbers;
>         $sum = reduce ^_+^_,            0, @numbers;
>         $min = reduce ^x <= ^y ? ^x : ^y,  @numbers

I see $_[foo], ^_, and ^somename. I understand how we get to $_[foo], and I 
can intuit what ^_ means (though it should be specified, I think), but what 
about ^name?

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to