a list of all distinct permutations of the visible list x, or, if x is an integer, of the list of integers from 0 through n-1
Description
i1 : uniquePermutations {a,b,a,b}
o1 = {{a, b, a, b}, {a, b, b, a}, {a, a, b, b}, {b, a, a, b}, {b, a, b, a},
------------------------------------------------------------------------
{b, b, a, a}}
o1 : List