collection-hash

A function for building hash functions that test collection equivalence.  Two collections will yield the same hash id if each of their key/element pairs hash to the same value.  It is only safe to set the ordered: keyword argument to #t if the collection has a natural iteration order.

Exported from

Arguments

key-hashAn instance of <function>.  Computes hash ids for the keys.  It takes an object and a <hash-state> as an argument, and returns a hash id and a hash state.
element-hashAn instance of <function>.  Computes hash ids for the elements.  It takes an object and a <hash-state> as an argument, and returns a hash id and a hash state.
colAn instance of <collection>.
initial-stateAn instance of <hash-state>.
ordered:An instance of <boolean>.  Whether or not to do an ordered merge of the key/element hash codes.  The default is #f.

Values

hash-idAn instance of <integer>.
hash-stateAn instance of <hash-state>.
The table-extensions module.
The class of objects that can be applied to arguments.
The type of hash states.
The class of collections, aggregate data structures.
The class of boolean values.
The class of integers.