bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda


From: Elias Mårtenson
Subject: Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda
Date: Wed, 9 Jul 2014 22:08:34 +0800

I know, but it's much more ugly than my proposal, don't you think?

Regards,
Elias


On 9 July 2014 22:06, Juergen Sauermann <address@hidden> wrote:
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]