Ken Fox wrote:
> 
> I think we need a curry context and that all curries must be surrounded
> by parens. 
> .....
>   sub traverse ($_);
>   my $sum = 0;
>   $root->traverse(($sum += __));

I think parens may be problematic, since nested lists flatten.
Maybe curlies could be overloaded yet again?

    $root->traverse({$sum += __});

That has mnemonic value, since it looks kinda like an anonymous sub...

-- 
John Porter

Reply via email to