> >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?

All covered in the higher order functions RFC.

Did I not include a reference to that?
Oops, no I didn't. Apologies.

Damian

Reply via email to