package ppx_diff

  1. Overview
  2. Docs
A PPX rewriter that genreates the implementation of [Ldiffable.S].

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.1.tar.gz
md5=cfec5d638a1bf1ea77707d10eed5d2d7
sha512=5848274cb0c5acd1ee3f29318e6111c5fef4b357aeda78120e0370067b9b23f62bb57e1e0be948c3af385b5900a3e0fb657f26dd4fe7ee95cd7002b9d8b68547

doc/ppx_diff.diffable/Diffable/Diff_of_option/index.html

Module Diffable.Diff_of_optionSource

Sourcetype 'a derived_on = 'a Base.option
Sourceval sexp_of_derived_on : ('a -> Sexplib0.Sexp.t) -> 'a derived_on -> Sexplib0.Sexp.t
Sourceval derived_on_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a derived_on
Sourceval bin_shape_derived_on : Bin_prot.Shape.t -> Bin_prot.Shape.t
Sourceval bin_size_derived_on : 'a Bin_prot.Size.sizer -> 'a derived_on Bin_prot.Size.sizer
Sourceval __bin_read_derived_on__ : 'a Bin_prot.Read.reader -> (Base.int -> 'a derived_on) Bin_prot.Read.reader
Sourcetype ('a, 'a_diff) t =
  1. | Set_to_none
  2. | Set_to_some of 'a
  3. | Diff_some of 'a_diff
include Sexplib0.Sexpable.S2 with type ('a, 'a_diff) t := ('a, 'a_diff) t
include Bin_prot.Binable.S2 with type ('a, 'a_diff) t := ('a, 'a_diff) t
include Ppx_quickcheck_runtime.Quickcheckable.S2 with type ('a, 'a_diff) t := ('a, 'a_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 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 Optional_diff.t) -> from:'a derived_on -> to_:'a derived_on -> ('a, 'a_diff) t 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 Optional_diff.t) -> ('a -> 'a_diff -> 'a) -> ('a, 'a_diff) t list -> ('a, 'a_diff) t Optional_diff.t
OCaml

Innovation. Community. Security.