Compose functions with map
<p>I'm using two map calls to transform a string of <code>'0'</code>s and <code>'1'</code>s into a sequence of booleans:</p>
<pre class="lang-py prettyprint-override"><code>&gt;&gt;&gt; a, b = '10'
&gt;&gt;&gt; a, b = map(int, (a, b))
&gt;&gt;&gt; a, b = map(bool, (a, b))
&gt;&gt;&gt; a, b
(True, False)
</code></pre>
<p>How to do that with only one <code>map</code>?</p>