[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda
From: |
Jay Foad |
Subject: |
Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda |
Date: |
Wed, 9 Jul 2014 11:08:28 +0100 |
Note that this would conflict with the use of ⍺⍺ and ⍵⍵ in NARS2000
and Dyalog, where they refer to the operands of a defined operator.
With three levels of nested lambdas would you also want to be able to
use ⍵⍵⍵ in the innermost one, to refer to the value of ⍵ in the
outermost one, and so on?
Jay.
On 9 July 2014 09:53, Elias Mårtenson <address@hidden> 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
- [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda, Elias Mårtenson, 2014/07/09
- Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda, Juergen Sauermann, 2014/07/09
- Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda, Elias Mårtenson, 2014/07/10
- Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda, Juergen Sauermann, 2014/07/09
- Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda, Kacper Gutowski, 2014/07/09
- Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda, Elias Mårtenson, 2014/07/11
- Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda, Juergen Sauermann, 2014/07/20
- Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda, Elias Mårtenson, 2014/07/20
- Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda, Elias Mårtenson, 2014/07/10
- Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda,
Jay Foad <=