package plato

  1. Overview
  2. Docs
type key
type value
type t
include COLLECTION with type key := key and type e := value and type t := t and type i := key
include SIZED with type t := t
val len : t -> int
include ITERABLE with type e := value and type t := t and type key := key
val iter : (key -> value -> unit) -> t -> unit
val fold : (key -> 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 -> value
val getitem_opt : key -> t -> value option
val keys : t -> key list
val items : t -> (key * value) list
val values : t -> value list
val eq : t -> t -> bool
val ne : t -> t -> bool