package incr_map

  1. Overview
  2. Docs
type ('a, 'a_diff) t = (Key.t, 'a, 'a_diff) Diffable.Map_diff.t
include Sexplib0.Sexpable.S2 with type ('a, 'a_diff) t := ('a, 'a_diff) t
val t_of_sexp : (Sexplib0__.Sexp.t -> 'a) -> (Sexplib0__.Sexp.t -> 'b) -> Sexplib0__.Sexp.t -> ('a, 'b) t
val sexp_of_t : ('a -> Sexplib0__.Sexp.t) -> ('b -> Sexplib0__.Sexp.t) -> ('a, 'b) t -> Sexplib0__.Sexp.t
include Diffable.Diff.S1_plain with type ('a, 'a_diff) t := ('a, 'a_diff) t and type 'a derived_on = (Key.t, 'a, Key.comparator_witness) Core__.Map_intf.Map.t
type 'a derived_on = (Key.t, 'a, Key.comparator_witness) Core__.Map_intf.Map.t
val get : (from:'a -> to_:'a -> 'a_diff Diffable.Optional_diff.t) -> from:'a derived_on -> to_:'a derived_on -> ('a, 'a_diff) t Diffable.Optional_diff.t
val apply_exn : ('a -> 'a_diff -> 'a) -> 'a derived_on -> ('a, 'a_diff) t -> 'a derived_on
val of_list_exn : ('a_diff list -> 'a_diff Diffable.Optional_diff.t) -> ('a -> 'a_diff -> 'a) -> ('a, 'a_diff) t list -> ('a, 'a_diff) t Diffable.Optional_diff.t
OCaml

Innovation. Community. Security.