[racket-dev] How about adding this simple list-shuffling procedure to racket?

From: Neil Toronto (neil.toronto at gmail.com)
Date: Fri Nov 12 17:45:09 EST 2010

Jon Rafkind wrote:
> On 11/12/2010 02:25 PM, Eli Barzilay wrote:
>> Any objections to `shuffle' in `racket/list'?

No objections here. I will almost surely use this function in the future.

> Dumb question but is this different from `shuffle-list' from games/cards ?

Yes. The one in games/cards takes multiple shuffles to actually shuffle 
the list. I think it's supposed to mimic physically shuffling a deck.

Neil T


Posted on the dev mailing list.