Hi,
Was wondering if anyone had written (or q had built-in) an implementation for set operations on dictionaries like:
q)a:a
b!0 1;b:y
z!8 9;c:b
y!4 5
q)UNION[a;c]
a| 0
b| 1 4
y| 5
q)0N!INTER[a;b]
(symbol$())!
long$()
… or maybe ..
b|
q) /DIFF/DROP …
i’d like functions in similar spirit to the way dyadic verbs work ,± that return a dict.
i’m working on these functions, but i bet i’d learn a bit from seeing someone else’s code.
Thanks,
Jack.