v = P.parse_string p &quot;     &quot; in
v = 5</code></pre></div></div><div class="odoc-spec"><div class="spec value" id="val-take" class="anchored"><a href="#val-take" class="anchor"></a><code><span><span class="keyword">val</span> take : <span>?at_least:int <span class="arrow">&#45;&gt;</span></span> <span>?up_to:int <span class="arrow">&#45;&gt;</span></span> <span>?sep_by:<span><span class="type-var">_</span> <a href="#type-t">t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span><span c