Hi Kacper,

yes. APL2 produces what you predicted.

I believe that the standard says little about how / and friends shall be parsed.
In GNU APL a value left of / makes it a function at tokenization time in order to
avoid testing at runtime.

/// Jürgen


On 05/17/2016 06:20 PM, Kacper Gutowski wrote:
On Tue, May 17, 2016 at 4:49 PM, Juergen Sauermann wrote:
is seems like IBM APL2 computes
      1 2 3 /¨ 4 5 6
as:
      (1 2 3/4) (1 2 3/5) (1 2 3/6)
However, the ISO standard says
Z ← A f¨ B
(...)

The difference isn't in each operator, but in parsing / always as a monadic
operator (albeit taking a numeric argument) rather than a dyadic function.
I don't have APL2 to test, but I expect (1 2 3/)¨4 5 6 to work too.

-k


Reply via email to