[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Operator Idiosyncrasies

From: Mike Duvos
Subject: Re: [Bug-apl] Operator Idiosyncrasies
Date: Sun, 13 Sep 2015 07:35:48 -0700

Hi Jürgen,

> Interestingly, my APL2 reports DOMAIN ERROR on 0 +/ 99

Odd.  You should mention that in the APL2 forum.  Perhaps you need a later service level.

There's still one minor inconsistency between APL2 and GNU APL on that _expression_.  reports a depth of 4 for the result in APL2 and a depth of 3 in GNU APL.  I have no idea why.  APL2 appears to be doing an extra enclose on the elements of the array.

In my APL2, enclose of a simple scalar (a single character or number), is a no-op.  However, enclosed arrays are not simple scalars and can be enclosed again, increasing their depth by one.

This is different from GNU APL, which appears to no-op all encloses of scalars.





Which one of these is "right" is a philosophical question.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]