package incr_map

  1. Overview
  2. Docs
Helpers for incremental operations on map like data structures

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=91acc784e4760af8544c4504bee1a9f6d7385eb0620f8e56392cd193a250b7d2

doc/incr_map.collate/Incr_map_collate/Collate/Which_range/Diff/index.html

Module Which_range.DiffSource

Sourcetype 'a derived_on = 'a t
Sourcetype ('a, 'a_diff) t =
  1. | Set_to_all_rows
  2. | Set_to_from of 'a
  3. | Set_to_to of 'a
  4. | Set_to_between of 'a * 'a
  5. | Diff_from of 'a_diff
  6. | Diff_to of 'a_diff
  7. | Diff_between of ('a, 'a, 'a_diff, 'a_diff) Diffable.For_ppx.Tuple2.For_inlined_tuple.Diff.t
include Sexplib0.Sexpable.S2 with type ('a, 'a_diff) t := ('a, 'a_diff) t
Sourceval t_of_sexp : (Sexplib0.Sexp.t -> 'a) -> (Sexplib0.Sexp.t -> 'b) -> Sexplib0.Sexp.t -> ('a, 'b) t
Sourceval sexp_of_t : ('a -> Sexplib0.Sexp.t) -> ('b -> Sexplib0.Sexp.t) -> ('a, 'b) t -> Sexplib0.Sexp.t
include Core.Bin_prot.Binable.S2 with type ('a, 'a_diff) t := ('a, 'a_diff) t
Sourceval bin_size_t : ('a, 'b, ('a, 'b) t) Bin_prot.Size.sizer2
Sourceval bin_write_t : ('a, 'b, ('a, 'b) t) Bin_prot.Write.writer2
Sourceval bin_read_t : ('a, 'b, ('a, 'b) t) Bin_prot.Read.reader2
Sourceval __bin_read_t__ : ('a, 'b, int -> ('a, 'b) t) Bin_prot.Read.reader2
Sourceval bin_writer_t : ('a, 'b, ('a, 'b) t) Bin_prot.Type_class.S2.writer
Sourceval bin_reader_t : ('a, 'b, ('a, 'b) t) Bin_prot.Type_class.S2.reader
Sourceval bin_t : ('a, 'b, ('a, 'b) t) Bin_prot.Type_class.S2.t
Sourceval get : (from:'a -> to_:'a -> 'a_diff Diffable.For_ppx.Optional_diff.t) -> from:'a derived_on -> to_:'a derived_on -> ('a, 'a_diff) t Diffable.For_ppx.Optional_diff.t
Sourceval apply_exn : ('a -> 'a_diff -> 'a) -> 'a derived_on -> ('a, 'a_diff) t -> 'a derived_on
Sourceval of_list_exn : ('a_diff list -> 'a_diff Diffable.For_ppx.Optional_diff.t) -> ('a -> 'a_diff -> 'a) -> ('a, 'a_diff) t list -> ('a, 'a_diff) t Diffable.For_ppx.Optional_diff.t
OCaml

Innovation. Community. Security.