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