`sig
type 'a t
exception Invalid_arg of int * string * string
val create : unit -> 'a DynArray.t
val make : int -> 'a DynArray.t
val init : int -> (int -> 'a) -> 'a DynArray.t
val empty : 'a DynArray.t -> bool
val length : 'a DynArray.t -> int
val get : 'a DynArray.t -> int -> 'a
val last : 'a DynArray.t -> 'a
val set : 'a DynArray.t -> int -> 'a -> unit
val insert : 'a DynArray.t -> int -> 'a -> unit
val add : 'a DynArray.t -> 'a -> unit
val append : 'a DynArray.t -> 'a DynArray.t -> unit
val delete : 'a DynArray.t -> int -> unit
val delete_last : 'a DynArray.t -> unit
val delete_range : 'a DynArray.t -> int -> int -> unit
val clear : 'a DynArray.t -> unit
val blit : 'a DynArray.t -> int -> 'a DynArray.t -> int -> int -> unit
val compact : 'a DynArray.t -> unit
val to_list : 'a DynArray.t -> 'a list
val to_array : 'a DynArray.t -> 'a array
val enum : 'a DynArray.t -> 'a Enum.t
val of_list : 'a list -> 'a DynArray.t
val of_array : 'a array -> 'a DynArray.t
val of_enum : 'a Enum.t -> 'a DynArray.t
val copy : 'a DynArray.t -> 'a DynArray.t
val sub : 'a DynArray.t -> int -> int -> 'a DynArray.t
val iter : ('a -> unit) -> 'a DynArray.t -> unit
val iteri : (int -> 'a -> unit) -> 'a DynArray.t -> unit
val map : ('a -> 'b) -> 'a DynArray.t -> 'b DynArray.t
val mapi : (int -> 'a -> 'b) -> 'a DynArray.t -> 'b DynArray.t
val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b DynArray.t -> 'a
val fold_right : ('a -> 'b -> 'b) -> 'a DynArray.t -> 'b -> 'b
val index_of : ('a -> bool) -> 'a DynArray.t -> int
val filter : ('a -> bool) -> 'a DynArray.t -> unit
type resizer_t = currslots:int -> oldlength:int -> newlength:int -> int
val set_resizer : 'a DynArray.t -> DynArray.resizer_t -> unit
val get_resizer : 'a DynArray.t -> DynArray.resizer_t
val default_resizer : DynArray.resizer_t
val exponential_resizer : DynArray.resizer_t
val step_resizer : int -> DynArray.resizer_t
val conservative_exponential_resizer : DynArray.resizer_t
val unsafe_get : 'a DynArray.t -> int -> 'a
val unsafe_set : 'a DynArray.t -> int -> 'a -> unit
end`