ns on the list.</p>
</div>
<ul class="info-attributes">
<li><b>Since</b> 4.05.0</li>
</ul>
</div>

<pre id="VALcons">val cons : 'a -&gt; 'a list -&gt; 'a list</pre><div class="info ">
<div class="info-desc">
<p><code class="code">cons&nbsp;x&nbsp;xs</code> is <code class="code">x&nbsp;::&nbsp;xs</code></p>
</div>
<ul class="info-attributes">
<li><b>Since</b> 4.03.0 (4.05.0 in ListLabels)</li>
</ul>
</div>

<pre id="VALhd">val hd : 'a list -&gt; 'a</pre><div class="info ">
<div class="info-desc">
<p>Return t