package plato

  1. Overview
  2. Docs
type key = string
type in_value = string option
type out_value = string option
type t
type parser
include Collections.Abc.MUTABLE_MAPPING with type key := key and type in_value := in_value and type out_value := out_value and type t := t
include Collections.Abc.MAPPING with type key := key and type value := out_value and type t := t
include Collections.Abc.COLLECTION with type key := key and type e := out_value and type t := t and type i := key
include Collections.Abc.SIZED with type t := t
val len : t -> int
include Collections.Abc.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 Collections.Abc.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
val name : t -> string
val parser : t -> parser