[racket-dev] [plt] Push #20853: master branch updated

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Wed Aug 11 19:48:25 EDT 2010

>>   @see-also-concurrency-caveat[]}
>> +
>> + at defproc[(hash-domain [hash hash?])
>> +         (listof any/c)]{
>> +Returns a list of the keys of @scheme[hash] in an unspecified order.
>> +
>> +See @scheme[hash-map] for information about modifying @scheme[hash]
>> +during @scheme[hash-domain]. @see-also-concurrency-caveat[]}
>>
>> + at defproc[(hash-range [hash hash?])
>> +         (listof any/c)]{
>> +Returns a list of the values of @scheme[hash] in an unspecified order.
>> +
>> +See @scheme[hash-map] for information about modifying @scheme[hash]
>> +during @scheme[hash-range]. @see-also-concurrency-caveat[]}

I would rename `hash-domain' => 'hash-keys' and 'hash-range' => 
'hash-values'. The documentation refers to them this way and 
'keys'/'values' are the popular way of talking about hashes. (Also the 
sequence names you can give to `for' are in-hash-keys and in-hash-values).


Posted on the dev mailing list.