Re: [Bug-apl] Strange behaviour of ,/

2014-02-03 Thread Elias Mårtenson
Jay, Thank you. This made me aware of the fact that I still don't understand this. You are right that the rank is zero, shown by the fact that ⍴,/1 2 3returns an empty result: *8⎕CR ⍴,/1 2 3* ┌⊖┐ │0│ └─┘ Can you explain to me why that is the case? When I look at the result from ,/1 2 3 it

Re: [Bug-apl] Strange behaviour of ,/

2014-02-03 Thread Jay Foad
On 31 January 2014 17:37, Elias Mårtenson wrote: > 8⎕CR ,/1 2 3 4 > ┌─┐ > │┌→──┐│ > ││1 2 3 4││ > │└───┘│ > └∊┘ I just have one comment to add to Kacper's excellent explanation: a useful thing to remember about this implementation of *reduction* is that it always *re