[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-apl] Disclose and enlist of empty arrays
From: |
Kacper Gutowski |
Subject: |
[Bug-apl] Disclose and enlist of empty arrays |
Date: |
Sat, 26 May 2018 12:07:51 +0200 |
User-agent: |
Mutt/1.9.5 (2018-04-13) |
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
- [Bug-apl] Disclose and enlist of empty arrays,
Kacper Gutowski <=