ibutes">
<li><b>Since</b> 4.13.0</li>
</ul>
</div>

<pre id="VALfold_right">val fold_right : f:(char -&gt; 'a -&gt; 'a) -&gt; bytes -&gt; init:'a -&gt; 'a</pre><div class="info ">
<div class="info-desc">
<p><code class="code">fold_right&nbsp;f&nbsp;s&nbsp;x</code> computes
    <code class="code">f&nbsp;(get&nbsp;s&nbsp;0)&nbsp;(f&nbsp;(get&nbsp;s&nbsp;1)&nbsp;(&nbsp;...&nbsp;(f&nbsp;(get&nbsp;s&nbsp;(n-1))&nbsp;x)&nbsp;...))</code>,
    where <code class="code">n</code> is the length of <code class="code">s