On Sun, 3 Jan 2021 at 17:08, Dr. Jürgen Sauermann
wrote:
> simple answer: {3} is niladic in GNU APL (since lack of ⍵) and monadic
> (why?) in Dyalog et al.
As far as the Dyalog parser is concerned, all dfns are ambivalent. For example:
3{⍵}4 ⍝ left argument is consumed (but ignored because
Hi Jürgen,
many thanks for clarification - yep, that makes sense, that the function
by itself forces, whether it is niladic/monadic/dyadic.
br Otto
Dr. Jürgen Sauermann writes:
> Hi Otto,
>
> simple answer: {3} is niladic in GNU APL (since lack of ⍵) and monadic
> (why?) in Dyalog et al.
>
> T
Hi Otto,
simple answer: {3} is niladic in GNU APL (since lack of ⍵) and
monadic
(why?) in Dyalog et al.
To get the Dyalog behaviour in GNU APL use {3⊣⍵} instead of {3}:
{3⊣⍵} ¨⍳5
3 3 3 3 3
That makes the lambda m