Just spotted a question on stack overflow from Zhe Hu about the behaviour of
1/:1
http://stackoverflow.com/questions/29580291/j-sort-function-1-1-returns-0
2/:2 NB. expected result
2
1/:1 NB. expected 1 as the result
0
Also,
#$ 2 /: 2 NB. result is list as expected
1
#$ 1 /: 1 NB. result is atom, not a list as expected
0
I don't see the reasons that 1/:1 would return the atom 0 as a result, but that
does not mean there one does not exist. :)
Cheers, bob
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm