type 'a t = 'a Base.Option_array.tinclude Bin_prot.Binable.S1 with type 'a t := 'a t
val bin_shape_t : Bin_prot.Shape.t -> Bin_prot.Shape.tval bin_size_t : ('a, 'a t) Bin_prot.Size.sizer1val bin_write_t : ('a, 'a t) Bin_prot.Write.writer1val bin_read_t : ('a, 'a t) Bin_prot.Read.reader1val __bin_read_t__ : ('a, int -> 'a t) Bin_prot.Read.reader1val bin_writer_t : ('a, 'a t) Bin_prot.Type_class.S1.writerval bin_reader_t : ('a, 'a t) Bin_prot.Type_class.S1.readerval bin_t : ('a, 'a t) Bin_prot.Type_class.S1.tinclude Ppx_sexp_conv_lib.Sexpable.S1 with type 'a t := 'a t
val t_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a tval sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.tinclude module type of struct include Base.Option_array end with type 'a t := 'a t
include Base.Sexpable.S1 with type 'a t := 'a t
val t_of_sexp : (Base.Sexp.t -> 'a) -> Base.Sexp.t -> 'a tval sexp_of_t : ('a -> Base.Sexp.t) -> 'a t -> Base.Sexp.tval empty : 'a tval create : len:int -> 'a tInitially filled with all None
val init_some : int -> f:(int -> 'a) -> 'a tval init : int -> f:(int -> 'a option) -> 'a tval length : 'a t -> intval get : 'a t -> int -> 'a optionget t i returns the element number i of array t, raising if i is outside the range 0 to length t - 1.
val get_some_exn : 'a t -> int -> 'aRaises if the element number i is None.
val is_none : 'a t -> int -> boolis_none t i = Option.is_none (get t i)
val is_some : 'a t -> int -> boolis_some t i = Option.is_some (get t i)
val unsafe_get : 'a t -> int -> 'a optionval unsafe_get_some_exn : 'a t -> int -> 'aunsafe_get_some_exn t i is unsafe because it does not bounds check i. It does, however check whether the value at index i is none or some, and raises if it is none.
val unsafe_get_some_assuming_some : 'a t -> int -> 'aunsafe_get_some_assuming_some t i is unsafe both because it does not bounds check i and because it does not check whether the value at index i is none or some, assuming that it is some.
val unsafe_is_some : 'a t -> int -> boolval set : 'a t -> int -> 'a option -> unitset t i x modifies array t in place, replacing element number i with x, raising if i is outside the range 0 to length t - 1.
val set_some : 'a t -> int -> 'a -> unitval set_none : 'a t -> int -> unitval swap : 'a t -> int -> int -> unitval clear : 'a t -> unitReplaces all the elements of the array with None.
val unsafe_set : 'a t -> int -> 'a option -> unitval unsafe_set_some : 'a t -> int -> 'a -> unitval unsafe_set_none : 'a t -> int -> unit