Hi Hendrik,
as far as I remember: in GNU APL a lambda is pretty much a regular
defined function.
A nomadic lambda is simply a dyadic lambda which test for the presence
for its left
argument (read: ⎕NC lambda = 2).Tour tryit needs to check that before ⍺
is referenced).
Best Regards,
Jürgen
On 10/23/24 16:55, Henrik Moller wrote:
To all APLers: In GNU APL, is there any way to define an ambivalent
lambda? I.e., if you define a lambda
tryit←{...}
is there any way to make it work with both
tryit 1
and
1 tryit 2
The Net has been unhelpful...
Thanks