HASHKEY signatureThe HASHKEY signature defines a hashable key type which is
totally ordered. Note that anything ascribing to HASHKEY
implicitly ascribes to both
ORDKEY and
EQKEY as well.
type t
val equal : t * t → bool
val compare : t * t → order
val hash : t → int
val toString : t → string
type tval equal :
t * t → boolval compare :
t * t → orderLESS, EQUAL, or
GREATER as appropriate for the argument pair. This
operation is transitive.val hash :
t → intval toString :
t → string