Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val capacity : 'a data -> int
val length : 'a t -> int
val pp :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a t ->
unit
val init : ?capacity:int -> unit -> 'a t
val init_with : ?capacity:int -> int -> (int -> 'a) -> 'a t
val singleton : ?capacity:int -> 'a -> 'a t
val to_array : 'a t -> 'a array
val get : 'a t -> int -> 'a
val set : 'a t -> int -> 'a -> unit
val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
val iter : ('a -> 'b) -> 'a t -> unit
val drop_last : 'a t -> unit
val insert : 'a t -> int -> 'a -> unit
val clip : 'a t -> int -> unit