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: Kacper Gutowski
Subject: Re: [Bug-apl] Extension proposal: ⍵⍵ to access outer lambda
Date: Thu, 10 Jul 2014 02:03:57 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On 2014-07-09 16:14:32, Juergen Sauermann wrote:
> Hi,
> 
> actually - no. I called it OUTER_OMEGA to make clear what it does.
> Maybe you like
> 
>       { ⍵ + {⍵×WW} 10 ⊣ WW←⍵ } 100
> 1100
> 
> imore?

I think the main problem isn't the length of variable's name but the
fact that regular variable is neither lexically scoped nor localized.

Using ⍵⍵ might be confusing for Dyalog users where ⍺⍺ and ⍵⍵ are used
as functional arguments of dfn operators.  But since GNU APL uses ⍶
and ⍹ for those and it doesn't localize variables in dfns, using
repeated ⍺/⍵ for nested arguments doesn't sound that bad.


-k



reply via email to

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