How do I “flatten” a list of lists in perl 6?
<p>Let's say I want all permutations of 2 letters out of a, b and c.</p>

<p>I can do:</p>

<pre><code>my @perm = &lt;a b c&gt;.combinations(2)».permutations;
say @perm;
# [((a b) (b a)) ((a c) (c a)) ((b c) (c b))]
</code></pre>

<p>which is close, but not exactly what I need.
How do I “flatten” this so that I get:</p>

<pre><code># [(a b) (b a) (a c) (c a) (b c) (c b)]
</code></pre>

<p>?</p>