Vocabularymath.
combinatoricsInputsOutputsWord descriptionOutputs a sequence containing all
unique permutations of
seq in lexicographical order.
ExamplesUSING: math.combinatorics prettyprint ;
{ 1 1 2 } all-unique-permutations .
{ { 1 1 2 } { 1 2 1 } { 2 1 1 } }
Definition