Kacper Gutowski
2017-08-15 19:27:20 UTC
I'm not sure when it started happening, but it seems that ⍎¨ always
returns a vector regardless of the shape of its argument:
⍴ ⍎¨ '1'
1
⍴ {⍎⍵}¨ '1'
⍴ ⍎¨ 2 2⍴,¨'1234'
4
⍴ {⍎⍵}¨ 2 2⍴,¨'1234'
2 2
-k
returns a vector regardless of the shape of its argument:
⍴ ⍎¨ '1'
1
⍴ {⍎⍵}¨ '1'
⍴ ⍎¨ 2 2⍴,¨'1234'
4
⍴ {⍎⍵}¨ 2 2⍴,¨'1234'
2 2
-k