Discussion:
[Bug-apl] Disclose and enlist of empty arrays
Kacper Gutowski
2018-05-26 10:07:51 UTC
Permalink
Hi,
Thanks for the division fixes.

I'm not sure if the below are outright bugs,
but I find these rather unexpected:

A←'abc' 'def'
≡A[⍳1]
2
≡⊃A[⍳1]
1
≡⊃A[⍳0] ⍝ I think it should be 1 too
2
≡∊A[⍳1]
1
≡∊A[⍳0] ⍝ result of ∊ should always be simple
2
'da' ⍋ ⊃A[⍳0] ⍝ practical problem it causes
DOMAIN ERROR
'da'⍋⊃A[⍳0]
^ ^

What's interesting, by the way, is that 10⎕CR and 2⎕TF show the
expected values of A[⍳0] and ⊃A[⍳0] but they don't match (≡)
the actual ones.

-k
Juergen Sauermann
2018-05-27 10:57:55 UTC
Permalink
Loading...