Elias Mårtenson
2017-03-30 04:25:30 UTC
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
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