package alba

  1. Overview
  2. Docs

Parameters

Signature

type key = E.t
type +'a t
val empty : 'a t
val is_empty : 'a t -> bool
val mem : key -> 'a t -> bool
val maybe_find : key -> 'a t -> 'a option
val find : key -> 'a t -> 'a
val add : key -> 'a -> 'a t -> 'a t
val remove : key -> 'a t -> 'a t
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val bindings : 'a t -> (key * 'a) list
val cardinal : 'a t -> int
OCaml

Innovation. Community. Security.