question using flip and !

what am I missing?

q)t:(w:-10?`1) /works

q)c:-10?`1

q)flip `w!c

'type

A dictionary is an association of lists. Both keys and values shouldbe coerced to matching lists if necessary.q)c:-10?1q)w!c’typeq)ww!(c;c)w| e l b p k o m d a cw| e l b p k o m d a cq)(enlist w)!enlist cw| e l b p k o m d a cOn May 14, 5:43?am, ag <anuj.go...> wrote:&gt; what am I missing?&gt;&gt; q)t:([]w:-10?1) /works>> q)c:-10?1&gt; q)flip w!c> 'type</anuj.go…>

To: personal-kdbplus@googlegroups.com
X-Mailer: Apple Mail (2.1084)

w!c isn't valid for those types (sym as left arg to ! is trying to = create an enumeration, which requires int vector as the right arg), you = want flip(enlistw)!enlist c