|
From: | Elias Mårtenson |
Subject: | Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda |
Date: | Wed, 9 Jul 2014 22:08:34 +0800 |
Hi Elias,
that would be very easy to implement:
{ ⍵ + { ⍵ × OUTER_OMEGA } 10 ⊣ OUTER_OMEGA←⍵ } 100
1100
/// Jürgen
On 07/09/2014 10:53 AM, Elias Mårtenson wrote:
It would be nice to be able to access the values of ⍵ and ⍺ (and I suppose χ) from the outer lambda from a nested lambda.
I.e, I'd like to following to return the value 1100:
{ ⍵ + {⍵×⍵⍵} 10 } 100
In other words, the ⍵⍵ in the inner lambda would refer to the value 100 (i.e. the value of ⍵ in the outer lambda).
Would this be easy to implement?
Regards,Elias
[Prev in Thread] | Current Thread | [Next in Thread] |