title: Do every operation twice
body: <p>I would like to every function to be done twice. Arguments are in array, so it is something like this:</p>
  
  <pre><code>fun1(A[0]);
  fun1(A[1]);
  
  fun2(A[0]);
  fun2(A[1]);
  
  fun3(A[0]);
  fun3(A[1]);
  </code></pre>
  
  <p>Is there a way to do it automatically? I cannot use</p>
  
  <pre><code>for(int i=0; i&lt;2; i++)
  </code></pre>
  
  <p>cause it will be:</p>
  
  <pre><code>fun1(A[0]);
  fun2(A[0]);
  fun3(A[0]);
  
  fun1(A[1]);
  fun2(A[1]);
  fun3(A[1]);
  </code></pre>
  
  <p>And order in that case matters. </p>