Kacper Gutowski
2018-05-26 10:07:51 UTC
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
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