New Contributor II
since ‎2020.11.24

User Statistics

  • 12 Posts
  • 0 Solutions
  • 13 Kudos given
  • 0 Kudos received

User Activity

Hi Community,If I have a function takes 3 inputs where I want to set the 3rd argument to be `field and I want to iterate over 2 lists using each-both, but the below creates a projection:{.my.func[x;y;`field]} ' [value exec col1, col2 from tab1]Would ...
dict:`a`b`c!((enlist 1; enlist `a);(enlist 2;enlist `b);(enlist 3;enlist `c))q)(first'') dicta| 1 `ab| 2 `bc| 3 `cq)(first') dicta| 1b| 2c| 3q)How does (first'') work, please? And then how would (first''') work?Thank you!
h".z.pg:{.Q.trp[(0;)@value@;x;{(1;.Q.sbt y)}]}" .z.pg is the message handler on the server .Q.trp takes 3 arguments: #1 the function: (0;)@value@ (the default value of .z.pg is just {value x}, how does this translate to that?)#2 Argument: x (which is...
May I please ask why creating a table from a table results in a "list" of dictionaries? ([] tab) where tab is a table(98h) results in a list of dictionaries? Thank you!
I have the below trades table in my q session: q)meta trades c | t f a -----| ----- time | p sym | s g src | s g price| f size | i q) Then, why does it need each both for the sv function when x and y are joined already and then passed into sv: q)upda...