[Haskell-cafe] Permutations

Andrew Coppin andrewcoppin at btinternet.com
Sun Nov 30 11:51:40 EST 2008


Daniel Fischer wrote:
> 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.

Ah, I see. That'll be why my copy of GHC 6.8.2 doesn't have it! :-D



More information about the Haskell-Cafe mailing list