[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gen-permutation



>
>(gen-permutation '(a a b b))
>
>I'm looking for:
>
>-> ((a a b b) (a b a b) (a b b a) (b a a b) (b a b a) (b b a a))
>
>permute-uniqe?

(DELETE-DUPLICATES (permute '(a a b b) :test #'equal)

e