Up

Module Symmetric_diff_element

Signature

type ('k, 'v) t = 'k * [
| `Left of 'v
| `Right of 'v
| `Unequal of 'v * 'v
]
val t_of_sexp : (Sexplib.Sexp.t -> 'k) -> (Sexplib.Sexp.t -> 'v) -> Sexplib.Sexp.t -> ('k, 'v) t
val sexp_of_t : ('k -> Sexplib.Sexp.t) -> ('v -> Sexplib.Sexp.t) -> ('k, 'v) t -> Sexplib.Sexp.t
val compare : ('k -> 'k -> int) -> ('v -> 'v -> int) -> ('k, 'v) t -> ('k, 'v) t -> int
val bin_read_t : 'k Bin_prot.Read.reader -> 'v Bin_prot.Read.reader -> ('k, 'v) t Bin_prot.Read.reader
val __bin_read_t__ : 'k Bin_prot.Read.reader -> 'v Bin_prot.Read.reader -> (int -> ('k, 'v) t) Bin_prot.Read.reader
val bin_size_t : 'k Bin_prot.Size.sizer -> 'v Bin_prot.Size.sizer -> ('k, 'v) t Bin_prot.Size.sizer
val bin_write_t : 'k Bin_prot.Write.writer -> 'v Bin_prot.Write.writer -> ('k, 'v) t Bin_prot.Write.writer