Produces the elements of the two sets between greater_or_equal_to
and
less_or_equal_to
in order
, noting whether each element appears in the left set,
the right set, or both. In the both case, both elements are returned, in case the
caller can distinguish between elements that are equal to the sets' comparator. Runs
in O(length t + length t').
type ('a, 'b) t
= ('a, 'b) Core_kernel.Sequence.Merge_with_duplicates_element.t
=
| Left of 'a |
| Right of 'b |
| Both of 'a * 'b |
include sig ... end
val t_of_sexp : (Sexplib.Sexp.t ‑> 'a) ‑> (Sexplib.Sexp.t ‑> 'b) ‑> Sexplib.Sexp.t ‑> ('a, 'b) t
val sexp_of_t : ('a ‑> Sexplib.Sexp.t) ‑> ('b ‑> Sexplib.Sexp.t) ‑> ('a, 'b) t ‑> Sexplib.Sexp.t
val compare : ('a ‑> 'a ‑> Core_kernel__.Import.int) ‑> ('b ‑> 'b ‑> Core_kernel__.Import.int) ‑> ('a, 'b) t ‑> ('a, 'b) t ‑> Core_kernel__.Import.int
val bin_t : 'a Bin_prot.Type_class.t ‑> 'b Bin_prot.Type_class.t ‑> ('a, 'b) t Bin_prot.Type_class.t
val bin_read_t : 'a Bin_prot.Read.reader ‑> 'b Bin_prot.Read.reader ‑> ('a, 'b) t Bin_prot.Read.reader
val __bin_read_t__ : 'a Bin_prot.Read.reader ‑> 'b Bin_prot.Read.reader ‑> (Core_kernel__.Import.int ‑> ('a, 'b) t) Bin_prot.Read.reader
val bin_reader_t : 'a Bin_prot.Type_class.reader ‑> 'b Bin_prot.Type_class.reader ‑> ('a, 'b) t Bin_prot.Type_class.reader
val bin_size_t : 'a Bin_prot.Size.sizer ‑> 'b Bin_prot.Size.sizer ‑> ('a, 'b) t Bin_prot.Size.sizer
val bin_write_t : 'a Bin_prot.Write.writer ‑> 'b Bin_prot.Write.writer ‑> ('a, 'b) t Bin_prot.Write.writer
val bin_writer_t : 'a Bin_prot.Type_class.writer ‑> 'b Bin_prot.Type_class.writer ‑> ('a, 'b) t Bin_prot.Type_class.writer
val bin_shape_t : Bin_prot.Shape.t ‑> Bin_prot.Shape.t ‑> Bin_prot.Shape.t