package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'b) derived_on = ('a, 'b) t
type ('a, 'b, 'a_diff, 'b_diff) t =
  1. | Set_to_ok of 'a
  2. | Set_to_error of 'b
  3. | Diff_ok of 'a_diff
  4. | Diff_error of 'b_diff
val bin_size_t : 'a Bin_prot.Size.sizer -> 'b Bin_prot.Size.sizer -> 'a_diff Bin_prot.Size.sizer -> 'b_diff Bin_prot.Size.sizer -> ('a, 'b, 'a_diff, 'b_diff) t Bin_prot.Size.sizer
val bin_write_t : 'a Bin_prot.Write.writer -> 'b Bin_prot.Write.writer -> 'a_diff Bin_prot.Write.writer -> 'b_diff Bin_prot.Write.writer -> ('a, 'b, 'a_diff, 'b_diff) t Bin_prot.Write.writer
val bin_read_t : 'a Bin_prot.Read.reader -> 'b Bin_prot.Read.reader -> 'a_diff Bin_prot.Read.reader -> 'b_diff Bin_prot.Read.reader -> ('a, 'b, 'a_diff, 'b_diff) t Bin_prot.Read.reader
val __bin_read_t__ : 'a Bin_prot.Read.reader -> 'b Bin_prot.Read.reader -> 'a_diff Bin_prot.Read.reader -> 'b_diff Bin_prot.Read.reader -> (Base.Int.t -> ('a, 'b, 'a_diff, 'b_diff) t) Bin_prot.Read.reader
val bin_t : 'a Bin_prot.Type_class.t -> 'b Bin_prot.Type_class.t -> 'a_diff Bin_prot.Type_class.t -> 'b_diff Bin_prot.Type_class.t -> ('a, 'b, 'a_diff, 'b_diff) t Bin_prot.Type_class.t
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> ('b -> Sexplib0.Sexp.t) -> ('a_diff -> Sexplib0.Sexp.t) -> ('b_diff -> Sexplib0.Sexp.t) -> ('a, 'b, 'a_diff, 'b_diff) t -> Sexplib0.Sexp.t
val t_of_sexp : (Sexplib0.Sexp.t -> 'a) -> (Sexplib0.Sexp.t -> 'b) -> (Sexplib0.Sexp.t -> 'a_diff) -> (Sexplib0.Sexp.t -> 'b_diff) -> Sexplib0.Sexp.t -> ('a, 'b, 'a_diff, 'b_diff) t
val get : (from:'a -> to_:'a -> 'a_diff Diffable.For_ppx.Optional_diff.t) -> (from:'b -> to_:'b -> 'b_diff Diffable.For_ppx.Optional_diff.t) -> from:('a, 'b) derived_on -> to_:('a, 'b) derived_on -> ('a, 'b, 'a_diff, 'b_diff) t Diffable.For_ppx.Optional_diff.t
val apply_exn : ('a -> 'a_diff -> 'a) -> ('b -> 'b_diff -> 'b) -> ('a, 'b) derived_on -> ('a, 'b, 'a_diff, 'b_diff) t -> ('a, 'b) derived_on
val of_list_exn : ('a_diff Base.List.t -> 'a_diff Diffable.For_ppx.Optional_diff.t) -> ('a -> 'a_diff -> 'a) -> ('b_diff Base.List.t -> 'b_diff Diffable.For_ppx.Optional_diff.t) -> ('b -> 'b_diff -> 'b) -> ('a, 'b, 'a_diff, 'b_diff) t Base.List.t -> ('a, 'b, 'a_diff, 'b_diff) t Diffable.For_ppx.Optional_diff.t
OCaml

Innovation. Community. Security.