title: Generated arbitrary functions for wj
body: <p>In the KDB <code>wj</code> function:</p>
  
  <pre><code>wj[w;c;t;(q;(f0;c0);(f1;c1))]
  </code></pre>
  
  <p>I would like to have an arbitrary number of aggregation functions.</p>
  
  <pre><code>myList: `A`B`C..... (can be arbitrary)
  </code></pre>
  
  <p>I would like to generate a list of <code>sum</code> functions</p>
  
  <pre><code>mySumFuncs: {(sum;x)} each myList
  </code></pre>
  
  <p>and use it this way:</p>
  
  <pre><code>wj[w;c;t;(q,mySumFuncs)]
  </code></pre>
  
  <p>But it complains of <code>type</code> error.
  Can someone please help?</p>