Module Base.HashableSource

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