a href="#val-commit" class="anchor"></a><code><span><span class="keyword">val</span> commit : <span>unit <span class="arrow">&#45;&gt;</span></span> <span>unit <a href="#type-t">t</a></span></span></code></div><div class="spec-doc"><p><code>commit ()</code> commits the parser such that the parser will not backtrack from the current parser position.</p></div></div><div class="odoc-spec"><div class="spec value" id="val-pos" class="anchored"><a href="#val-pos" class="anchor"></a><code><span><span class="keywor