Batteries user guide : BatDynArray

`sig type 'a t type 'a enumerable = 'a t type 'a mappable = 'a t exception Invalid_arg of int * string * string val create : unit -> 'a BatDynArray.t val make : int -> 'a BatDynArray.t val init : int -> (int -> 'a) -> 'a BatDynArray.t val empty : 'a BatDynArray.t -> bool val length : 'a BatDynArray.t -> int val get : 'a BatDynArray.t -> int -> 'a val last : 'a BatDynArray.t -> 'a val set : 'a BatDynArray.t -> int -> 'a -> unit val insert : 'a BatDynArray.t -> int -> 'a -> unit val add : 'a BatDynArray.t -> 'a -> unit val append : 'a BatDynArray.t -> 'a BatDynArray.t -> unit val delete : 'a BatDynArray.t -> int -> unit val delete_last : 'a BatDynArray.t -> unit val delete_range : 'a BatDynArray.t -> int -> int -> unit val clear : 'a BatDynArray.t -> unit val blit : 'a BatDynArray.t -> int -> 'a BatDynArray.t -> int -> int -> unit val compact : 'a BatDynArray.t -> unit val to_list : 'a BatDynArray.t -> 'a list val to_array : 'a BatDynArray.t -> 'a array val enum : 'a BatDynArray.t -> 'a BatEnum.t val of_list : 'a list -> 'a BatDynArray.t val of_array : 'a array -> 'a BatDynArray.t val of_enum : 'a BatEnum.t -> 'a BatDynArray.t val copy : 'a BatDynArray.t -> 'a BatDynArray.t val sub : 'a BatDynArray.t -> int -> int -> 'a BatDynArray.t val iter : ('a -> unit) -> 'a BatDynArray.t -> unit val iteri : (int -> 'a -> unit) -> 'a BatDynArray.t -> unit val map : ('a -> 'b) -> 'a BatDynArray.t -> 'b BatDynArray.t val mapi : (int -> 'a -> 'b) -> 'a BatDynArray.t -> 'b BatDynArray.t val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b BatDynArray.t -> 'a val fold_right : ('a -> 'b -> 'b) -> 'a BatDynArray.t -> 'b -> 'b val index_of : ('a -> bool) -> 'a BatDynArray.t -> int val keep : ('a -> bool) -> 'a BatDynArray.t -> unit val filter : ('a -> bool) -> 'a BatDynArray.t -> 'a BatDynArray.t val filter_map : ('a -> 'b option) -> 'a BatDynArray.t -> 'b BatDynArray.t type resizer_t = currslots:int -> oldlength:int -> newlength:int -> int val set_resizer : 'a BatDynArray.t -> BatDynArray.resizer_t -> unit val get_resizer : 'a BatDynArray.t -> BatDynArray.resizer_t val default_resizer : BatDynArray.resizer_t val exponential_resizer : BatDynArray.resizer_t val step_resizer : int -> BatDynArray.resizer_t val conservative_exponential_resizer : BatDynArray.resizer_t val create_with : BatDynArray.resizer_t -> 'a BatDynArray.t val unsafe_get : 'a BatDynArray.t -> int -> 'a val unsafe_set : 'a BatDynArray.t -> int -> 'a -> unit val print : ?first:string -> ?last:string -> ?sep:string -> ('a BatInnerIO.output -> 'b -> unit) -> 'a BatInnerIO.output -> 'b BatDynArray.t -> unit val invariants : 'a BatDynArray.t -> unit val bool_invariants : 'a BatDynArray.t -> bool end`