package plato

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

Innovation. Community. Security.