Jake Mcarthur wrote:
Seems a bit easy, I think.Data.List.permutations . nub
Damnit, I specifically looked through Data.List to see if a permutation function exists... how did I miss that?! o_O
(Hoogle didn't find it either.)Well either way, it's still entertaining to find ways to implementing it yourself. ;-)
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe