Support.DynArrayinclude module type of DynArrayval create : unit -> 'a tval make : int -> 'a tval init : int -> (int -> 'a) -> 'a tval empty : 'a t -> boolval length : 'a t -> intval get : 'a t -> int -> 'aval last : 'a t -> 'aval set : 'a t -> int -> 'a -> unitval insert : 'a t -> int -> 'a -> unitval add : 'a t -> 'a -> unitval delete : 'a t -> int -> unitval delete_last : 'a t -> unitval delete_range : 'a t -> int -> int -> unitval clear : 'a t -> unitval compact : 'a t -> unitval to_list : 'a t -> 'a listval to_array : 'a t -> 'a arrayval enum : 'a t -> 'a Enum.tval of_list : 'a list -> 'a tval of_array : 'a array -> 'a tval of_enum : 'a Enum.t -> 'a tval iter : ('a -> unit) -> 'a t -> unitval iteri : (int -> 'a -> unit) -> 'a t -> unitval fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'aval fold_right : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'bval index_of : ('a -> bool) -> 'a t -> intval filter : ('a -> bool) -> 'a t -> unitval default_resizer : resizer_tval exponential_resizer : resizer_tval step_resizer : int -> resizer_tval conservative_exponential_resizer : resizer_tval unsafe_get : 'a t -> int -> 'aval unsafe_set : 'a t -> int -> 'a -> unitval append_list : 'a t -> 'a list -> unitappend_list dst l effectfully appends all the elements of l to dst.
val head : 'a t -> 'a optionhead d is Some h with h being the first element of d if d is non-empty, and None otherwise.
val get_opt : 'a t -> int -> 'a optionget_opt d i is Some (get d i) if d has an element at index i, and None otherwise.
val rfind_opt_idx : 'a t -> ('a -> bool) -> (int * 'a) optionrfind_opt_idx d p is Some (i, l) where l is the last element in d that satisfies p and i is the index of l in d, and None otherwise.