bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Disclose and enlist of empty arrays


From: Juergen Sauermann
Subject: Re: [Bug-apl] Disclose and enlist of empty arrays
Date: Sun, 27 May 2018 12:57:55 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Hi Kacper,

thanks, fixed in SVN 1053.

/// Jürgen


On 05/26/2018 12:07 PM, Kacper Gutowski wrote:
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



Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]