code>s</code>.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-map_state_attr"><a href="#val-map_state_attr" class="anchor"></a><code><span><span class="keyword">val</span> map_state_attr : <span><span>(<span><span>(<a href="#type-state">state</a> * <a href="#type-attr">attr</a>)</span> <span class="arrow">&#45;&gt;</span></span> <a href="#type-state">state</a> * <a href="#type-attr">attr</a>)</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <sp