keen/hash
SourceThis is a standard module
and does not need to be explicitly imported.
sorted-key[k] spec k data, k compareSpec for types that can be used as keys in sorted collections that don't need hashing.
key[k] spec k sorted-key, k hashSpec for types that can be used as keys in any map or set.
hash[t] specseeded-hash[t] nat64(a t) global, t hashGet a hash code based on a global random seed. This will return the same value given the same argument in the same process, but will be different for each new process.
hash-state record (has private fields)
Functions for getting hash codes.
Hash codes are used internally by map and set types, which require a
hashimplementation for the key type.