package plato

  1. Overview
  2. Docs

Parameters

module P : sig ... end

Signature

module H : Stdcompat.Hashtbl.S with type key = P.key
include MUTABLE_MAPPING with type key = P.key and type in_value = P.value and type out_value = P.value and type t = P.value H.t
type key = P.key
type in_value = P.value
type out_value = P.value
type t = P.value H.t
include MAPPING with type key := key and type value := out_value and type t := t
include COLLECTION with type key := key and type e := out_value and type t := t and type i := key
include SIZED with type t := t
val len : t -> int
include ITERABLE with type e := out_value and type t := t and type key := key
val iter : (key -> out_value -> unit) -> t -> unit
val fold : (key -> out_value -> 'acc -> 'acc) -> t -> 'acc -> 'acc
include CONTAINER with type t := t and type i := key
val contains : key -> t -> bool
val getitem : key -> t -> out_value
val getitem_opt : key -> t -> out_value option
val keys : t -> key list
val items : t -> (key * out_value) list
val values : t -> out_value list
val eq : t -> t -> bool
val ne : t -> t -> bool
val setitem : key -> in_value -> t -> unit
val delitem : key -> t -> unit
val pop : key -> t -> out_value
val popitem : t -> key * out_value
val clear : t -> unit
val update : t -> t -> unit
val setdefault : key -> in_value -> t -> out_value
OCaml

Innovation. Community. Security.