<code><span><span class="keyword">val</span> rev : <span>string <span class="arrow">&#45;&gt;</span></span> string</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pad"><a href="#val-pad" class="anchor"></a><code><span><span class="keyword">val</span> pad : <span><span class="optlabel">?side</span>:<span>[ `Left <span>| `Right</span> ]</span> <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?c</span>:char <span class="arrow">&#45;&gt;</span></s