bug-apl
[Top][All Lists]
Advanced

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

Re: ⍬ bug?


From: David Tran
Subject: Re: ⍬ bug?
Date: Mon, 23 Dec 2019 20:49:42 -0500

Ooops, missing something on my examples, correction:  ( missing ⊂ on ⍳3 )

a ← 'abc'(⊂⍳3)99

the 3 examples are the same:
2(⍳0)3⊃a
2⍬3⊃a
(2⍬3)⊃a

On Mon, Dec 23, 2019 at 7:20 PM David Tran <address@hidden> wrote:
Hi,

Not sure this is a bug or not, for me, (⍳0) ≡ ⍬, so it seems that both can be replaced each other; consider below example:

a←'abc'(⍳3)99

2(⍳0)3⊃a ⍝ ≡ 3
2⍬3⊃a ⍝ ≡ 2 ⍬ 99
(2⍬3)⊃a ⍝ ≡ 3

Doesn't the second example should return 3 as first example, without the need parentheses as third example?

(btw. my version is build from SVN around Oct )


Thanks,
Dave




reply via email to

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