[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] Something is wrong here (or I may be wrong myself)
From: |
Kacper Gutowski |
Subject: |
Re: [Bug-apl] Something is wrong here (or I may be wrong myself) |
Date: |
Sat, 25 Apr 2015 10:45:02 +0200 |
On Sat, Apr 25, 2015 at 4:38 AM, Christian Robert
<address@hidden> wrote:
> a←1 0 0 0 0 1 0 0 1 1 0 0 1 1 1 1 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0
> b← 26 27 28
> a[b]
> 0 0 0
> b⊃a
> DOMAIN ERROR
> b⊃a
> ^ ^
I think this should be rank error rather than domain one. But it should
be an error because length of b is higher than rank of a. It's roughly
the same as a[26][27][28], not a[26 27 28].
This works:
b⊃¨⊂a
0 0 0
-k