kt1:( c1:10 1b; c2:a
b) Howcome 1b which is boolean got type promoted to int. I thought lists did not involve type promotions.
Are you running these in a q session?
q)kt1:( c1:10 1b; c2:a
b)
': Bad file descriptor
q)
q)kt1:( c1:101b; c2:a
b)
'length
q)kt1:( c1:11b; c2:a
b)
q)
q)kt1
c1 c2
1 a
1 b
q)
Only the last option works here
Didn’t mean to hit send…
/following on from above we would have
q)meta kt1
c | t f a
–| -----
c1| b
c2| s