jon.recoil.org

Module type Hashable.Key__bits64

We give a name to Key__portable, even though it could normally be written as sig @@ portable include Key end. This is so of_key__portable can use it for first-class modules.

type t
include sig ... end
val sexp_of_t : t -> Sexplib0.Sexp.t
val compare : t -> t -> int
val hash : t -> int

Values returned by hash must be non-negative. An exception will be raised in the case that hash returns a negative value.