Hi,
Please ignore if I am incorrect, being new to APL. But perhaps my 'new
eyes' spotted two minor errors in the ]HELP for some operators:
1. 'squad' help
]help ⌷
dyadic function: Z ← A ⌷ B (Index)
Let A=A1 A2 ... An, n ≥ 0. Then (A ⌷ B) is B[A1;A2;...An]
B←1 4 1 5 1 6 1 7
⍋x
1
Hi Chris,
I have changed the installation so that it installs Error.def
along with libapl.h and changed libapl.h to
use
it (and to define its own enum to be used by the callers of apl_exec()
and apl_exec_ucs()).
SVN 1402.
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