[Haskell-cafe] Permutations

Andrew Coppin andrewcoppin at btinternet.com
Sun Nov 30 11:29:42 EST 2008


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. ;-)



More information about the Haskell-Cafe mailing list