Menu

#36 get and put on sets

open
nobody
None
5
2007-04-12
2007-04-12
No

It would be nice if get() and put() worked on sets.
put(S,v) is trivial, of course, and get(S) could
be implemented as the equivalent of:

(delete(S, v := ?S), v)

Discussion


Log in to post a comment.