package tablecloth-native

  1. Overview
  2. Docs
type key
type 'value t
val toList : 'a t -> (key * 'a) list
val to_list : 'a t -> (key * 'a) list
val empty : 'a t
val fromList : (key * 'value) list -> 'value t
val from_list : (key * 'value) list -> 'value t
val get : key:key -> 'value t -> 'value option
val insert : key:key -> value:'value -> 'value t -> 'value t
val update : key:key -> f:('value option -> 'value option) -> 'value t -> 'value t
val keys : 'a t -> key list
val map : 'a t -> f:('a -> 'b) -> 'b t
OCaml

Innovation. Community. Security.