</code> if they have distinct lengths
    allow different types<br>
</div>

<pre><span id="VALfold2"><span class="keyword">val</span> fold2</span> : <code class="type">('acc -> 'a -> 'b -> 'acc) -><br>       'acc -> 'a <a href="Barray_slice.html#TYPEt">t</a> -> 'b <a href="Barray_slice.html#TYPEt">t</a> -> 'acc</code></pre><div class="info ">
Fold on two arrays stepwise.<br>
<b>Since</b> 0.20<br>
<b>Raises</b> <code>Invalid_argument</code> if they have distinct lengths<br>
</div>

<pre><span id="VALiter2"><