" class="anchor"></a><code><span><span class="keyword">val</span> map_attr : <span><span>(<span><a href="#type-attr">attr</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-attr">attr</a>)</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p><code>map_attr f s</code> returns the LTSA obtained by replacing each state attribute <code>a</code> by <code>f a</cod