title: Using each right to pass parameters to a kdb function
body: <p>I have the following code that does not work:</p>
  
  <pre><code>fun { [h; d]
   h(anotherFun; d)
  }
  
  h: hopen(`hparam)
  d: (2013.06.01, 2013.06.02)
  h,/:fun d
  </code></pre>
  
  <p>What do I need to do to call fun with h and each element of d? The diagnostic from q is cryptic to say the least.</p>