
30 Nov
2008
30 Nov
'08
11:49 a.m.
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. ;-)