jon.recoil.org

Module Make.Diff

type derived_on = M.t
type t = M.t
include Sexplib0.Sexpable.S with type t := Diff.t
include Sexplib0.Sexpable.Of_sexp with type t := Diff.t
val t_of_sexp : Sexplib0.Sexp.t -> Diff.t
include Sexplib0.Sexpable.Sexp_of with type t := Diff.t
val sexp_of_t : Diff.t -> Sexplib0.Sexp.t
include Bin_prot.Binable.S with type t := Diff.t
include Bin_prot.Binable.S_only_functions with type t := Diff.t
include sig ... end
val bin_size_t : Diff.t Bin_prot.Size.sizer
val bin_write_t : Diff.t Bin_prot.Write.writer
val bin_read_t : Diff.t Bin_prot.Read.reader
val __bin_read_t__ : Diff.t Bin_prot.Read.vtag_reader

This function only needs implementation if t exposed to be a polymorphic variant. Despite what the type reads, this does *not* produce a function after reading; instead it takes the constructor tag (int) before reading and reads the rest of the variant t afterwards.

val bin_shape_t : Bin_prot.Shape.t
val apply_exn : Diff.derived_on -> Diff.t -> Diff.derived_on
val of_list_exn : Diff.t list -> Diff.t Diffable.Optional_diff.t @ local