[Haskell-cafe] Permutations

Daniel Fischer daniel.is.fischer at web.de
Sun Nov 30 11:49:14 EST 2008


Am Sonntag, 30. November 2008 17:29 schrieb Andrew Coppin:
> 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.)

Seems to be new, Data.List in 6.8.3 doesn't have it.
>
> Well either way, it's still entertaining to find ways to implementing it
> yourself. ;-)
>



More information about the Haskell-Cafe mailing list