package plato

  1. Overview
  2. Docs

Parameters

Signature

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

Innovation. Community. Security.