Re: [Bug-apl] Lambda valence error

2016-06-04 Thread Daniel H. Leidisch
Hello! Christian Robert writes: > You can force binding monadic like this > > 1 ({⍵} 2) > 1 2 What I meant was that in Dyalog and NGN: 1 {⍵} 2 2 Regards, Daniel

Re: [Bug-apl] Lambda valence error

2016-06-04 Thread Daniel H. Leidisch
Hello! Christian Robert writes: > ∇z←OMEGA n > [1] z←n > [2] ∇ > 1 OMEGA 2 > VALENCE ERROR > 1 OMEGA 2 > ^ ^ > 1 (OMEGA 2) > 1 2 As I said in my other answer, what I meant was that 1 {⍵} 2 2 works in both Dyalog and NGN. I.e. the lambda can be used monadica

Re: [Bug-apl] Lambda valence error

2016-06-04 Thread Christian Robert
[xtian@fc-23:/home/xtian] $ apl __ _ __ __ _____ __ / // | / // / / / / | / __ \ / / / / __ / |/ // / / / / /| | / /_/ // / / /_/ // /| // /_/ / / ___ | / // /___

Re: [Bug-apl] Lambda valence error

2016-06-04 Thread Christian Robert
You can force binding monadic like this 1 ({⍵} 2) 1 2 but what you describe may effectively be a bug. Xtian. On 2016-06-04 02:58, Daniel H. Leidisch wrote: Hello! On r734: 1 {⍵} 2 VALENCE ERROR 1 λ1 2 ^ ^ Unless I'm mistaken, this used to work. I assumed it to be a

[Bug-apl] Lambda valence error

2016-06-04 Thread Daniel H. Leidisch
Hello! On r734: 1 {⍵} 2 VALENCE ERROR 1 λ1 2 ^ ^ Unless I'm mistaken, this used to work. I assumed it to be a regression, but reading the info section about lambdas, it actually seems to be intended behavior. ("If only ⍵ is present then it is monadic, and if neither ⍺ nor ⍵ is