package core-and-more

  1. Overview
  2. Docs

Parameters

module C : sig ... end

Signature

module D : sig ... end
type elt = D.key
val compare_elt : elt -> elt -> Ppx_deriving_runtime.int
val pp_elt : Ppx_deriving_runtime.Format.formatter -> elt -> Ppx_deriving_runtime.unit
val show_elt : elt -> Ppx_deriving_runtime.string
val hash_fold_elt : Ppx_hash_lib.Std.Hash.state -> elt -> Ppx_hash_lib.Std.Hash.state
val hash_elt : elt -> Ppx_hash_lib.Std.Hash.hash_value
type t = D.t
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val hash_fold_t : Ppx_hash_lib.Std.Hash.state -> t -> Ppx_hash_lib.Std.Hash.state
val hash : t -> Ppx_hash_lib.Std.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 -> 'a) -> init:'a -> D.t -> 'a
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.