So in analogy to ruby
lamb = lambda { |x, y, z| z = x + y}
you want to write
$lamb = lambda ($x,$y,$z) => { $z = $x + $y }
such that $lamb->(1,2,$a) sets $a to 3 ???
Cheers Rolf
In reply to Re: Local for lexicals
by LanX
in thread Local for lexicals
by JadeNB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |