[Haskell-beginners] randomize the order of a list

Gaius Hammond gaius at gaius.org.uk
Fri Aug 27 16:21:11 EDT 2010


Amazing! Thanks :-)



G





On 27 Aug 2010, at 21:16, Felipe Lessa wrote:

> On Fri, Aug 27, 2010 at 5:02 PM, Gaius Hammond <gaius at gaius.org.uk>  
> wrote:
>> I am trying to randomly reorder a list (e.g. shuffle a deck of  
>> cards) .
>
> Note: you could use random-shuffle package [1].
>
> [1] http://hackage.haskell.org/package/random-shuffle
>
> Cheers!
>
> -- 
> Felipe.



More information about the Beginners mailing list