bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Lambda valence error


From: Daniel H. Leidisch
Subject: [Bug-apl] Lambda valence error
Date: Sat, 04 Jun 2016 08:58:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

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 present then the lambda is niladic.")

I can get around it using something like {⍺ ⊢ ⍵}, but it feels clumsy
and isn't needed in Dyalog and NGN. Is it intended behavior, and if yes,
what was the rationale behind it?


Regards,

Daniel




reply via email to

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