t as first argument (counting from 0), and the element
   itself as second argument.</p>
</div>
<ul class="info-attributes">
<li><b>Since</b> 4.11.0</li>
</ul>
</div>

<pre id="VALpartition">val partition : ('a -&gt; bool) -&gt; 'a list -&gt; 'a list * 'a list</pre><div class="info ">
<div class="info-desc">
<p><code class="code">partition&nbsp;f&nbsp;l</code> returns a pair of lists <code class="code">(l1,&nbsp;l2)</code>, where
   <code class="code">l1</code> is the list of all the elements of <code class