Re: [racket-dev] Add `set-get-one' and `set-get-one/rest' to set.rkt

2012-01-27 Thread Daniel King
I haven't received any replies regarding this pull request. On Thu, Dec 15, 2011 at 14:57, Daniel King wrote: > The procedure `set-get-one/rest' returns a random element from the set and a > new > set with that element removed. It is used for iterating over a set It > is not guaranteed > to retu

[racket-dev] Add `set-get-one' and `set-get-one/rest' to set.rkt

2011-12-15 Thread Daniel King
The procedure `set-get-one/rest' returns a random element from the set and a new set with that element removed. It is used for iterating over a set It is not guaranteed to return the same element if it is called twice on the original set. The procedure `set-get-one' only returns a random element f