title: Haskell: how to map a tuple?
body: <p>In Haskell, I can easily map a list:</p>
  
  <pre><code>map (\x -&gt; 2*x) [1,2]
  </code></pre>
  
  <p>gives me <code>[2,4]</code>. Is there any "mapTuple" function which would work like that?</p>
  
  <pre><code>mapTuple (\x -&gt; 2*x) (1,2)
  </code></pre>
  
  <p>with the result being <code>(2,4)</code>.</p>