(make-hashtable hash-function bucket-searcher size) => hashtable
Returns a newly allocated mutable hash table using hash-function as the hash function and bucket-searcher, e.g. ASSQ, ASSV, ASSOC, to search a bucket with size buckets at first, expanding the number of buckets as needed. The hash-function must accept a key and return a non-negative exact integer.
(make-hashtable hash-function bucket-searcher) => hashtable
Equivalent to (make-hashtable hash-function bucket-searcher n) for some value of n chosen by the implementation.
(make-hashtable hash-function) => hashtable
Equivalent to (make-hashtable hash-function assv).
(make-hashtable) => hashtable
Equivalent to (make-hashtable object-hash assv).
(hashtable-contains? hashtable key) => bool
(hashtable-fetch hashtable key flag) => object
(hashtable-get hashtable key) => object
(hashtable-put! hashtable key value) => unspecified
Changes the hashtable to associate key with value, replacing any existing association for key.
(hashtable-remove! hashtable key) => unspecified
(hashtable-clear! hashtable) => unspecified
(hashtable-size hashtable) => integer
(hashtable-for-each procedure hashtable) => unspecified
(hashtable-map procedure hashtable) => unspecified
(hashtable-copy hashtable) => hashtable
The hash values returned by these functions are nonnegative exact integer suitable as hash values for the hashtable functions.
(equal-hash object) => integer
(object-hash object) => integer
(string-hash string) => fixnum
(symbol-hash symbol) => fixnum