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 create : unit -> 'a t
val size : 'a t -> int
val add : key -> 'a -> 'a t -> unit
val remove : key -> 'a t -> unit
val get : key -> 'a t -> 'a option
val get_exn : key -> 'a t -> 'a
val fold : ('b -> key -> 'a -> 'b) -> 'b -> 'a t -> 'b
val of_list : (key * 'a) list -> 'a t
val to_list : 'a t -> (key * 'a) list
val to_tree : 'a t -> (key * 'a) list ktree
OCaml

Innovation. Community. Security.