Barray_slice.html#TYPErandom_gen">random_gen</a></code></pre><div class="info ">
Choose an element randomly.<br>
<b>Raises</b> <code>Not_found</code> if the array/slice is empty<br>
</div>

<pre><span id="VALto_seq"><span class="keyword">val</span> to_seq</span> : <code class="type">'a <a href="Barray_slice.html#TYPEt">t</a> -> 'a <a href="Barray_slice.html#TYPEsequence">sequence</a></code></pre>
<pre><span id="VALto_gen"><span class="keyword">val</span> to_gen</span> : <code class="type">'a <a href="Barray