On Thu, Mar 3, 2016 at 12:40 PM, Juergen Sauermann
<address@hidden> wrote:
the IBM APL2 language reference says (page 111):
If R is a simple scalar, ⊂ R is R. If R is not a simple scalar, the depth of
R is 1+ ≡R.
And the ISO standard says the same (page 169):
Z ← ⊂B
Note: If B is a simple-scalar, Z is B.
Jay is nevertheless correct, because ⊂x is NOT a simple-scalar
according to ISO. On page 21 it has the following definitions:
Simple: An array is simple if each item of its ravel-list is either
a character or a number.
Simple-scalar: A simple array whose rank is zero.
The sole item of ⊂x is an enclosed array, not a character or number.
-k