Closed tavmem closed 4 years ago
Well ... this was a surprise:
$ rlwrap -n ./k
kona \ for help. \\ to exit.
a: (,1)
b: (.((`a;1);(`b;2)))(,`a)
a
,1
b
,1
a~b
0
K 2.8 2000-10-10 Copyright (C) 1993-2000 Kx Systems
\ for help. \\ to exit.
a: (,1)
b: (.((`a;1);(`b;2)))(,`a)
a
,1
b
,1
a~b
1
The reason:
kona \ for help. \\ to exit.
a: (,1)
b: (.((`a;1);(`b;2)))(,`a)
a
,1
b
,1
4: a
-1
4: b
0
K 2.8 2000-10-10 Copyright (C) 1993-2000 Kx Systems
\ for help. \\ to exit.
a: (,1)
b: (.((`a;1);(`b;2)))(,`a)
a
,1
b
,1
4: a
-1
4: b
-1
If I add the following test:
It is listed as "failed", although the results match, and are correct: