/b> 4.12.0</li>
</ul>
</div>
<h2 id="1_Associationlists">Association lists</h2>
<pre id="VALassoc">val assoc : 'a -&gt; ('a * 'b) list -&gt; 'b</pre><div class="info ">
<div class="info-desc">
<p><code class="code">assoc&nbsp;a&nbsp;l</code> returns the value associated with key <code class="code">a</code> in the list of
   pairs <code class="code">l</code>. That is,
   <code class="code">assoc&nbsp;a&nbsp;[&nbsp;...;&nbsp;(a,b);&nbsp;...]&nbsp;=&nbsp;b</code>
   if <code class="code">(a,b)</code> is the le