package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module X : ORDERED

Signature

type key = X.t
type 'a t
val empty : unit -> 'a t
val is_empty : 'a t -> bool
val find : 'a t -> key -> 'a
val mem : 'a t -> key -> bool
val add : 'a t -> key -> 'a -> 'a t
val singleton : key -> 'a -> 'a t
val remove : 'a t -> key -> 'a t
val iter : 'a t -> (key -> 'a -> unit) -> unit
val fold : 'a t -> 'c -> ('c -> key -> 'a -> 'c) -> 'c
val size : 'a t -> int
val choose : 'a t -> key * 'a
val to_seq : 'a t -> (key * 'a) CCSequence.t
val of_seq : 'a t -> (key * 'a) CCSequence.t -> 'a t
OCaml

Innovation. Community. Security.