P404: Enumeration of all permutations of a set of elements

P404: Enumeration of all permutations of a set of elements
Input:
A set $S$.
Output:
All permutations of $S$
Complexity:
Comment:
Reference:
[Dershowitz1975] (Bibtex)