package containers

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

Parameters

module X : HASH

Signature

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

Innovation. Community. Security.