plt/racket — pull request #64 by danking (2011-12-09 19:12:45+00:00)
Title: Add `set-some-element' which returns some element of the given set.

The procedure `set-some-element` returns a random element from the set. It is
not guaranteed to return the same element if it is called twice on the same set.

This has been discussed before: http://lists.racket-lang.org/users/archive/2011-September/047919.html

Shriram suggested a procedure of the type:
`get-one/rest : (forall (A) (Set A) -> (values A (Set A)))`
However, since this procedure is not called "set-first", I don't think there is any expectation that there exists a "set-rest".

I could certainly add a `set-get-one/rest` with little effort if that is also desired.