bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Bug in ⊤ ?


From: Elias Mårtenson
Subject: [Bug-apl] Bug in ⊤ ?
Date: Thu, 30 Mar 2017 12:25:30 +0800

While discussing APL and J on IRC, I discovered a weird behavioural difference. Is GNU APL doing the right thing here?

      10 10 10 ⊤ 125 46 789
┏→━━━━┓
↓1 0 7┃
┃2 4 8┃
┃5 6 9┃
┗━━━━━┛

I'd expect to get the result that I'm getting by applying ⍉ to the result, in other words, I'd expect the following:

┏→━━━━┓
↓1 2 5┃
┃0 4 6┃
┃7 8 9┃
┗━━━━━┛

Regards,
Elias

reply via email to

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