jon.recoil.org

Module Base.HashableSource

module type Key__portable = Base.Hashable.Key

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.

module type Key = Base.Hashable.Key

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.

module type Key__float64__portable = Base.Hashable.Key

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.

module type Key__float64 = Base.Hashable.Key

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.

module type Key__bits64__portable = Base.Hashable.Key

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.

module type Key__bits64 = Base.Hashable.Key

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.

Sourcetype ('a : any) t = {
  1. hash : 'a -> int;
  2. compare : 'a -> 'a -> int;
  3. sexp_of_t : 'a -> Sexplib0.Sexp.t;
}
Sourceval equal : 'a Base.Hashable.t -> 'a Base.Hashable.t -> bool @@ portable
Sourceval poly : 'a Base.Hashable.t @@ portable
Sourceval of_key : (module Base.Hashable.Key with type t = 'a) -> 'a Base.Hashable.t @@ portable
Sourceval to_key : 'a Base.Hashable.t -> (module Base.Hashable.Key with type t = 'a) @@ portable
Sourceval hash_param : int -> int -> 'a -> int @@ portable
Sourceval hash : 'a -> int @@ portable