package plato

  1. Overview
  2. Docs

Parameters

Signature

include POLYMORPHIC_MAPPING with type key := M.key and type 'value t := 'value M.t
include POLYMORPHIC_COLLECTION with type key := M.key and type 'value t := 'value M.t and type i := M.key
include POLYMORPHIC_SIZED with type 'e t := 'e M.t
val len : 'e M.t -> int
include POLYMORPHIC_ITERABLE with type 'e t := 'e M.t and type key := M.key
val iter : (M.key -> 'e -> unit) -> 'e M.t -> unit
val fold : (M.key -> 'e -> 'acc -> 'acc) -> 'e M.t -> 'acc -> 'acc
include POLYMORPHIC_CONTAINER with type 'e t := 'e M.t and type i := M.key
val contains : M.key -> 'e M.t -> bool
val getitem : M.key -> 'value M.t -> 'value
val getitem_opt : M.key -> 'value M.t -> 'value option
val keys : 'value M.t -> M.key list
val items : 'value M.t -> (M.key * 'value) list
val values : 'value M.t -> 'value list
val eq : 'value M.t -> 'value M.t -> bool
val ne : 'value M.t -> 'value M.t -> bool
val setitem : M.key -> 'value -> 'value M.t -> unit
val delitem : M.key -> 'value M.t -> unit
val pop : M.key -> 'value M.t -> 'value
val popitem : 'value M.t -> M.key * 'value
val clear : 'value M.t -> unit
val update : 'value M.t -> 'value M.t -> unit
val setdefault : M.key -> 'value -> 'value M.t -> 'value
OCaml

Innovation. Community. Security.