package core-and-more

  1. Overview
  2. Docs
include sig ... end
module D : sig ... end
type elt = D.key
val compare_elt : elt -> elt -> Ppx_deriving_runtime.int
val hash_fold_elt : Base.Hash.state -> elt -> Base.Hash.state
val hash_elt : elt -> Base.Hash.hash_value
type t = D.t
val hash_fold_t : Base.Hash.state -> t -> Base.Hash.state
val hash : t -> Base.Hash.hash_value
val empty : D.t
val insert : D.key -> D.t -> D.t
val insert_and_new : D.key -> D.t -> D.t * bool
val insert_all : D.t -> D.key list -> D.t
val singleton : D.key -> D.t
val union : D.t -> D.t -> D.t
val member : D.t -> D.key -> bool
val subset : D.t -> D.t -> bool
val intersect : D.t -> D.t -> D.t
val diff : D.t -> D.t -> D.t
val remove : D.key -> D.t -> D.t
val choose : D.t -> (D.key * D.t) option
val fold : f:(D.key -> 'a -> 'b) -> init:'c -> D.t -> 'd
val map : f:(elt -> elt) -> t -> t
val filter : f:(elt -> bool) -> t -> t
val from_list : elt list -> t
val as_list : D.t -> D.key list
val is_empty : D.t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val po_compare : t -> t -> CoreAndMore__.Util.partial_order_comparison
val max : t -> elt option
val max_exn : t -> elt
val size : t -> int
val show : t -> string
OCaml

Innovation. Community. Security.