The issue here seems to be that since test is a nihilic function returning
0, the following call:

      test/0

Is equivalent to the following:

      {0⊣⍵}/0

which returns a single 0, since the /-reduction on a scalar is the value
itself.

However, the following:

      (test)/0

is equivalent to:

      0/0

because (test) evaluates before /, resulting in ⍬.

Regards,
Elias



On 5 August 2014 15:39, David B. Lamkins <dlamk...@gmail.com> wrote:

> Maybe I've misunderstood some APL2 corner case, but the behavior of the
> attached program seems wrong.
>
>

Reply via email to