> <a href="index.html#type-accum">accum</a></span></code></dt></dl><dl><dt class="spec value" id="val-apply_state"><a href="#val-apply_state" class="anchor"></a><code><span class="keyword">val</span> apply_state : <span><span>(<span class="type-var">'s</span>, <span class="type-var">'a</span>)</span> <a href="index.html#type-state">state</a></span> <span>&#45;&gt;</span> <span class="type-var">'s</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'s</span>, <span class="type-var">'a</span>)