package core-and-more

  1. Overview
  2. Docs
type +'a hash_consed = {
  1. hkey : int;
  2. tag : int;
  3. node : 'a;
}
val pp_hash_consed : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a hash_consed -> unit
val hash_fold_hash_consed : (Base__Hash.state -> 'a -> Base__Hash.state) -> Base__Hash.state -> 'a hash_consed -> Base__Hash.state
val equal_hash_consed : ('a -> 'a -> bool) -> 'a hash_consed -> 'a hash_consed -> bool
val compare_hash_consed : ('a -> 'a -> int) -> 'a hash_consed -> 'a hash_consed -> int
val hash_consed_of_sexp : (Ppx_sexp_conv_lib.Sexp.t -> 'a) -> Ppx_sexp_conv_lib.Sexp.t -> 'a hash_consed
val sexp_of_hash_consed : ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a hash_consed -> Ppx_sexp_conv_lib.Sexp.t
OCaml

Innovation. Community. Security.