include module type of struct include Stdlib.Dynarray end
type !'a t = 'a Stdlib__Dynarray.tval create : unit -> 'a tval make : int -> 'a -> 'a tval init : int -> (int -> 'a) -> 'a tval set : 'a t -> int -> 'a -> unitval is_empty : 'a t -> boolval get_last : 'a t -> 'aval find_last : 'a t -> 'a optionval add_last : 'a t -> 'a -> unitval append_array : 'a t -> 'a array -> unitval append_list : 'a t -> 'a list -> unitval append : 'a t -> 'a t -> unitval append_seq : 'a t -> 'a Stdlib.Seq.t -> unitval append_iter : 'a t -> (('a -> unit) -> 'x -> unit) -> 'x -> unitval blit :
src:'a t ->
src_pos:int ->
dst:'a t ->
dst_pos:int ->
len:int ->
unitval pop_last_opt : 'a t -> 'a optionval pop_last : 'a t -> 'aval remove_last : 'a t -> unitval truncate : 'a t -> int -> unitval iteri : (int -> 'a -> unit) -> 'a t -> unitval map : ('a -> 'b) -> 'a t -> 'b tval mapi : (int -> 'a -> 'b) -> 'a t -> 'b tval fold_left : ('acc -> 'a -> 'acc) -> 'acc -> 'a t -> 'accval fold_right : ('a -> 'acc -> 'acc) -> 'a t -> 'acc -> 'accval filter : ('a -> bool) -> 'a t -> 'a tval filter_map : ('a -> 'b option) -> 'a t -> 'b tval exists : ('a -> bool) -> 'a t -> boolval for_all : ('a -> bool) -> 'a t -> boolval mem : 'a -> 'a t -> boolval memq : 'a -> 'a t -> boolval find_opt : ('a -> bool) -> 'a t -> 'a optionval find_index : ('a -> bool) -> 'a t -> int optionval find_mapi : (int -> 'a -> 'b option) -> 'a t -> 'b optionval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> boolval compare : ('a -> 'a -> int) -> 'a t -> 'a t -> intval of_array : 'a array -> 'a tval to_array : 'a t -> 'a arrayval to_list : 'a t -> 'a listval of_seq : 'a Stdlib.Seq.t -> 'a tval to_seq : 'a t -> 'a Stdlib.Seq.tval to_seq_reentrant : 'a t -> 'a Stdlib.Seq.tval to_seq_rev : 'a t -> 'a Stdlib.Seq.tval to_seq_rev_reentrant : 'a t -> 'a Stdlib.Seq.tval capacity : 'a t -> intval ensure_capacity : 'a t -> int -> unitval fit_capacity : 'a t -> unitval set_capacity : 'a t -> int -> unitSourceval iter : f:('a -> unit) -> 'a t -> unit Sourceval iteri_from : f:(int -> 'a -> 'b) -> int -> 'a t -> unit Sourceval of_list : dummy:'a -> 'b list -> 'b Stdlib.Dynarray.t Sourceval find_map_from : int -> 'a t -> f:('a -> 'b option) -> 'b option Sourceval find_map : 'a t -> f:('a -> 'b option) -> 'b option Sourceval insert : 'a Stdlib.Dynarray.t -> int -> 'a -> unit Sourceval remove : 'a t -> int -> unit Sourceval get_exn : 'a t -> int -> 'a Sourceval get : [> `shadowed ]