package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t
val empty : cmp:('a -> 'a -> int) -> 'a t
val is_empty : 'a t -> bool
val mem : 'a t -> 'a -> bool
val add : 'a t -> 'a -> 'a t
val remove : 'a t -> 'a -> 'a t
val choose : 'a t -> 'a
val fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
val iter : ('a -> unit) -> 'a t -> unit
val size : 'a t -> int
val to_seq : 'a t -> 'a CCSequence.t
val of_seq : 'a t -> 'a CCSequence.t -> 'a t
val to_list : 'a t -> 'a list
val of_list : 'a t -> 'a list -> 'a t
OCaml

Innovation. Community. Security.