3 ms·
No, as you can check with some of the weirder arithmetic functions: </ ⍬ ⍝ Empty list 0 </ ,5 5 </ 0 5 1 </ 5 0 0
by mlochbaum 3y ago
No, as you can check with some of the weirder arithmetic functions:
</ ⍬ ⍝ Empty list
0
</ ,5
5
</ 0 5
1
</ 5 0
0
It would be more consistent in some ways though (for example forcing </ to always have a boolean result). APL designer Bob Smith's advocated for it, particularly for ,/ to make it behave better as a joining function: http://www.sudleyplace.com/APL/Reduction%20Of%20Singletons.pdf http://www.sudleyplace.com/APL/Reduction%20Of%20Singletons.p...