type promotions in table

kt1:( c1:10 1b; c2:ab) 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:ab)

': Bad file descriptor

q)

q)kt1:( c1:101b; c2:ab)

'length

q)kt1:( c1:11b; c2:ab)

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