Next Previous Up Top Contents Index

5.2 Extensions to the Dylan library

5.2.8 The table protocol

The following functions in the Dylan library are extended. Note that the hash IDs for tables are always instances of <integer>.

merge-hash-codes

Function

merge-hash-codes id1 state1 id2 state2 #key ordered? 
=> merged-id merged-state

Returns a hash code created from the merging of two argument hash codes. The id arguments are hash IDs, and the state arguments are hash states (instances of <object>). The ordered? argument is an instance of <boolean>. The returned merged values are instances of <integer> and <object>, as determined by the name of each argument.
object-hash

Function

object-hash object => hash-id hash-state

The hash function for the equivalence predicate ==. The return values are of the same types as the return values of merge-hash-codes.

Common Dylan and Functional Extensions - 31 Mar 00

Next Previous Up Top Contents Index