it : int -&gt; (int -&gt; 'a) -&gt; 'a list</pre><div class="info ">
<div class="info-desc">
<p><code class="code">init&nbsp;len&nbsp;f</code> is <code class="code">[f&nbsp;0;&nbsp;f&nbsp;1;&nbsp;...;&nbsp;f&nbsp;(len-1)]</code>, evaluated left to right.</p>
</div>
<ul class="info-attributes">
<li><b>Since</b> 4.06.0</li>
<li><b>Raises</b> <code>Invalid_argument</code> if <code class="code">len&nbsp;&lt;&nbsp;0</code>.</li>
</ul>
</div>

<pre id="VALappend">val append : 'a list -&gt; 'a list -&gt; 'a list</