This module extends Base.Sequence with bin_io.
module Merge_with_duplicates_element : sig ... endinclude module type of sig ... end with module Merge_with_duplicates_element := Merge_with_duplicates_elementval sexp_of_t : ('a ‑> Base.Sexp.t) ‑> 'a t ‑> Base.Sexp.tval mem : 'a t ‑> 'a ‑> equal:('a ‑> 'a ‑> bool) ‑> boolval length : 'a t ‑> intval is_empty : 'a t ‑> boolval iter : 'a t ‑> f:('a ‑> unit) ‑> unitval fold : 'a t ‑> init:'accum ‑> f:('accum ‑> 'a ‑> 'accum) ‑> 'accumval fold_result : 'a t ‑> init:'accum ‑> f:('accum ‑> 'a ‑> ('accum, 'e) Base.Result.t) ‑> ('accum, 'e) Base.Result.tval fold_until : 'a t ‑> init:'accum ‑> f:('accum ‑> 'a ‑> ('accum, 'final) Base__.Container_intf.Continue_or_stop.t) ‑> finish:('accum ‑> 'final) ‑> 'finalval exists : 'a t ‑> f:('a ‑> bool) ‑> boolval for_all : 'a t ‑> f:('a ‑> bool) ‑> boolval count : 'a t ‑> f:('a ‑> bool) ‑> intval sum : (module Base.Commutative_group.S with type t = 'sum) ‑> 'a t ‑> f:('a ‑> 'sum) ‑> 'sumval find : 'a t ‑> f:('a ‑> bool) ‑> 'a optionval find_map : 'a t ‑> f:('a ‑> 'b option) ‑> 'b optionval to_list : 'a t ‑> 'a listval to_array : 'a t ‑> 'a arrayval min_elt : 'a t ‑> compare:('a ‑> 'a ‑> int) ‑> 'a optionval max_elt : 'a t ‑> compare:('a ‑> 'a ‑> int) ‑> 'a optionval foldi : ('a t, 'a, 'b) Base__.Indexed_container_intf.foldival iteri : ('a t, 'a) Base__.Indexed_container_intf.iterival existsi : 'a t ‑> f:(int ‑> 'a ‑> bool) ‑> boolval counti : 'a t ‑> f:(int ‑> 'a ‑> bool) ‑> intval findi : 'a t ‑> f:(int ‑> 'a ‑> bool) ‑> (int * 'a) optionval find_mapi : 'a t ‑> f:(int ‑> 'a ‑> 'b option) ‑> 'b optionmodule Monad_infix = Base__Sequence.Monad_infixval return : 'a ‑> 'a tmodule Let_syntax = Base__Sequence.Let_syntaxval empty : 'a tmodule Step = Base__Sequence.Stepval unfold : init:'s ‑> f:('s ‑> ('a * 's) option) ‑> 'a tval nth : 'a t ‑> int ‑> 'a optionval nth_exn : 'a t ‑> int ‑> 'aval merge_with_duplicates : 'a t ‑> 'b t ‑> cmp:('a ‑> 'b ‑> int) ‑> ('a, 'b) Merge_with_duplicates_element.t tval hd : 'a t ‑> 'a optionval hd_exn : 'a t ‑> 'aval find_exn : 'a t ‑> f:('a ‑> bool) ‑> 'aval for_alli : 'a t ‑> f:(int ‑> 'a ‑> bool) ‑> boolval reduce_exn : 'a t ‑> f:('a ‑> 'a ‑> 'a) ‑> 'aval reduce : 'a t ‑> f:('a ‑> 'a ‑> 'a) ‑> 'a optionval find_consecutive_duplicate : 'a t ‑> equal:('a ‑> 'a ‑> bool) ‑> ('a * 'a) optionval range : ?stride:int ‑> ?start:[ `exclusive | `inclusive ] ‑> ?stop:[ `exclusive | `inclusive ] ‑> int ‑> int ‑> int tval init : int ‑> f:(int ‑> 'a) ‑> 'a tmodule Infix = Base__Sequence.Infixval cycle_list_exn : 'a list ‑> 'a tval repeat : 'a ‑> 'a tval singleton : 'a ‑> 'a tval delayed_fold : 'a t ‑> init:'s ‑> f:('s ‑> 'a ‑> k:('s ‑> 'r) ‑> 'r) ‑> finish:('s ‑> 'r) ‑> 'rval fold_m : bind:('acc_m ‑> f:('acc ‑> 'acc_m) ‑> 'acc_m) ‑> return:('acc ‑> 'acc_m) ‑> 'elt t ‑> init:'acc ‑> f:('acc ‑> 'elt ‑> 'acc_m) ‑> 'acc_mval iter_m : bind:('unit_m ‑> f:(unit ‑> 'unit_m) ‑> 'unit_m) ‑> return:(unit ‑> 'unit_m) ‑> 'elt t ‑> f:('elt ‑> 'unit_m) ‑> 'unit_mval to_list_rev : 'a t ‑> 'a listval of_list : 'a list ‑> 'a tval of_lazy : 'a t Base.Lazy.t ‑> 'a tval bounded_length : 'a t ‑> at_most:int ‑> [ `Greater | `Is of int ]val length_is_bounded_by : ?min:int ‑> ?max:int ‑> 'a t ‑> boolmodule Generator = Base__Sequence.Generatormodule Expert = Base__Sequence.ExpertMerges elements from sequences that are assumed to be sorted by compare to produce a
sequence also sorted by compare. If any of the inputs are not sorted, the order of
the output is not guaranteed to be sorted.
This includes duplicate elements in the output (whether they occur within one input sequence, or across different input sequences).