e="permute"></a>
<a name="Item_003a-permute"></a>
</p><dl>
<dt><u>Function:</u> <b>permute</b><i> (<var>p</var>, <var>l</var>)</i>
<a name="IDX1486"></a>
</dt>
<dd><p>Applies the permutation <var>p</var> to the elements of the list (or set)
<var>l</var>.
</p>
<p>Example:
</p>
<pre class="example">(%i1) load(&quot;combinatorics&quot;)$
(%i2) lis1: [a,b*c^2,4,z,x/y,1/2,ff23(x),0];
                        2        x  1
(%o2)            [a, b c , 4, z, -, -, ff23(x), 0]
                                 y  2
(%i