title: KDB+ / Q Table creation with dynamic number of columns
body: <p>I am doing stuff like this:</p>
  
  <pre><code>q)seed:5
  q)numvals:3
  q)id:`u#1+til seed;
  q)vals:numvals cut (seed*numvals)?`8
  q)1!([]id;vals)
  </code></pre>
  
  <p>Now I am getting a table like this:</p>
  
  <pre><code>id| vals                      
  --| --------------------------
  1 | bhlkdkfd ghmjjepm gphfcddd
  2 | jnloahej ipbcbnop heokehhg
  3 | eijocfod nbbeopjo ddhiffmp
  4 | cndelncn cmcmkckd aelpmccp
  5 | nhjdlned cbkgpggg kgbcifbj
  </code></pre>
  
  <p><strong>Is there a way to automatically unfold the <code>vals</code> list during the table generation to create a table that looks like this:</strong></p>
  
  <pre><code>id| vals0    vals1    vals2              
  --| --------------------------
  1 | bhlkdkfd ghmjjepm gphfcddd
  2 | jnloahej ipbcbnop heokehhg
  3 | eijocfod nbbeopjo ddhiffmp
  4 | cndelncn cmcmkckd aelpmccp
  5 | nhjdlned cbkgpggg kgbcifbj
  </code></pre>