</p>
</div>
<ul class="info-attributes">
<li><b>Since</b> 4.10.0</li>
</ul>
</div>

<pre id="VALfilter">val filter : ('a -&gt; bool) -&gt; 'a list -&gt; 'a list</pre><div class="info ">
<div class="info-desc">
<p><code class="code">filter&nbsp;f&nbsp;l</code> returns all the elements of the list <code class="code">l</code>
   that satisfy the predicate <code class="code">f</code>. The order of the elements
   in the input list is preserved.</p>
</div>
</div>

<pre id="VALfind_all">val find_all : ('a -&gt; b