package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'b) t
val empty_with : cmp:('a -> 'a -> int) -> ('a, 'b) t
val empty : unit -> ('a, 'b) t
val is_empty : ('a, 'b) t -> bool
val find : ('a, 'b) t -> 'a -> 'b
val mem : ('a, 'b) t -> 'a -> bool
val add : ('a, 'b) t -> 'a -> 'b -> ('a, 'b) t
val singleton : cmp:('a -> 'a -> int) -> 'a -> 'b -> ('a, 'b) t
val remove : ('a, 'b) t -> 'a -> ('a, 'b) t
val iter : ('a, 'b) t -> ('a -> 'b -> unit) -> unit
val fold : ('a, 'b) t -> 'c -> ('c -> 'a -> 'b -> 'c) -> 'c
val size : ('a, 'b) t -> int
val choose : ('a, 'b) t -> 'a * 'b
val to_seq : ('a, 'b) t -> ('a * 'b) CCSequence.t
val of_seq : ('a, 'b) t -> ('a * 'b) CCSequence.t -> ('a, 'b) t
module type S = sig ... end
module type ORDERED = sig ... end
module Make (X : ORDERED) : sig ... end
OCaml

Innovation. Community. Security.