This module extends the Base Option module 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__.Sexplib.Sexp.t) ‑> 'a t ‑> Base__.Sexplib.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, 'stop) Base.Container_intf.Continue_or_stop.t) ‑> ('accum, 'stop) Base.Container_intf.Finished_or_stopped_early.tval 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_array : 'a t ‑> 'a arrayval min_elt : 'a t ‑> cmp:('a ‑> 'a ‑> int) ‑> 'a optionval max_elt : 'a t ‑> cmp:('a ‑> 'a ‑> int) ‑> 'a 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_mapi : 'a t ‑> f:(int ‑> 'a ‑> 'b option) ‑> 'b optionval findi : 'a t ‑> f:(int ‑> 'a ‑> bool) ‑> (int * 'a) optionval find_exn : 'a t ‑> f:('a ‑> bool) ‑> 'aval for_alli : 'a t ‑> f:(int ‑> 'a ‑> bool) ‑> boolval existsi : 'a t ‑> f:(int ‑> 'a ‑> bool) ‑> boolval iteri : 'a t ‑> f:(int ‑> 'a ‑> unit) ‑> unitval foldi : 'a t ‑> f:(int ‑> 'b ‑> 'a ‑> 'b) ‑> init:'b ‑> 'bval 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 to_list : 'a t ‑> 'a listval 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.Generator