package plato

  1. Overview
  2. Docs

Parameters

module P : sig ... end

Signature

module H : Stdcompat.Hashtbl.S with type key = P.key
include POLYMORPHIC_MUTABLE_MAPPING with type key = P.key and type 'value t = 'value H.t
type key = P.key
type 'value t = 'value H.t
include POLYMORPHIC_MAPPING with type key := key and type 'value t := 'value t
include POLYMORPHIC_COLLECTION with type key := key and type 'value t := 'value t and type i := key
include POLYMORPHIC_SIZED with type 'e t := 'e t
val len : 'e t -> int
include 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 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
OCaml

Innovation. Community. Security.