package core-and-more

  1. Overview
  2. Docs

Parameters

module D : sig ... end

Signature

type element = D.t
val show_element : element -> Ppx_deriving_runtime.string
val hash_fold_element : Base.Hash.state -> element -> Base.Hash.state
val hash_element : element -> Base.Hash.hash_value
type t =
  1. | Leaf
  2. | Node of t * element list * t * int
val hash_fold_t : Base.Hash.state -> t -> Base.Hash.state
val hash : t -> Base.Hash.hash_value
val rank : t -> int
val check_safety : t -> unit
val empty : t
val singleton : element -> t
val merge : t -> t -> t
val size : t -> int
val push : t -> element -> t
val pop : t -> (element * t) option
val pop_all_equiv : t -> (element list * t) option
val peek : t -> element option
val to_list : t -> element list
val compare : t -> t -> int
OCaml

Innovation. Community. Security.