pplies function <code>f</code> to all states (with associated attribute) of <code>s</code></p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-fold_states"><a href="#val-fold_states" class="anchor"></a><code><span><span class="keyword">val</span> fold_states : <span><span>(<span><a href="#type-state">state</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="Valuation/index.html#type-t">Valuation.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-v