type-var">'b</span>)</span></span> <span>&#45;&gt;</span> <span class="type-var">'b</span></code></dt><dd><p>like fold, but apply f_last to the last element</p></dd></dl><dl><dt class="spec value" id="val-split_last_rev"><a href="#val-split_last_rev" class="anchor"></a><code><span class="keyword">val</span> split_last_rev : <span><span class="type-var">'a</span> list</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span> * <span><span class="type-var">'a</span> list</span>)</span> optio