title: How do I create a collection of arrays from a single array?
body: <p>Say I have one large array like</p>
  
  <pre><code>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
  </code></pre>
  
  <p>and would like to split it into an array of n-tuples like</p>
  
  <pre><code>[[1,2], [3,4], [5,6], [7,8], [9,10], [11,12], [13,14] /*, ... */ ] // (for n=2)
  </code></pre>
  
  <p>Is there some easy way to achieve this? The special case <code>n = 2</code> would be enough for me.</p>