Module Utils.Finite_vectorSource
Sourcetype 'a data = | Empty of int| Buf of 'a array
Sourcetype 'a t = {mutable size : int;mutable buf : 'a data;
} Sourceval init : ?capacity:int -> unit -> 'a t Sourceval init_with : ?capacity:int -> int -> (int -> 'a) -> 'a t Sourceval singleton : ?capacity:int -> 'a -> 'a t Sourceval to_array : 'a t -> 'a array Sourceval set : 'a t -> int -> 'a -> unit Sourceval fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a Sourceval iter : ('a -> 'b) -> 'a t -> unit Sourceval split_from : 'a t -> int -> 'a t Sourceval insert : 'a t -> int -> 'a -> unit Sourceval clip : 'a t -> int -> unit