v class="spec-doc"><p><code>both p q</code> is evaluates to <code>(a,b)</code> when <code>a</code> is evaluted from <code>p</code> and <code>b</code> is evaluated from <code>q</code>.</p></div></div><div class="odoc-spec"><div class="spec value" id="val-map" class="anchored"><a href="#val-map" class="anchor"></a><code><span><span class="keyword">val</span> map : <span><span>(<span><span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'b</span>)</span> <span clas