sig
type 'a t
val limit_for : 'a -> int
val make : int -> 'a -> 'a Vec.t
val create : int -> 'a -> 'a Vec.t
val init : int -> (int -> 'a) -> 'a Vec.t
val copy : 'a Vec.t -> 'a Vec.t
val to_list : 'a Vec.t -> 'a list
val of_list : 'a list -> 'a Vec.t
val to_array : 'a Vec.t -> 'a array
val of_array : 'a array -> 'a Vec.t
val length : 'a Vec.t -> int
val limit : 'a Vec.t -> int
val is_empty : 'a Vec.t -> bool
val grow : 'a Vec.t -> int -> 'a -> unit
val grow_init : 'a Vec.t -> int -> (int -> 'a) -> unit
val shrink : 'a Vec.t -> int -> unit
val clear : 'a Vec.t -> unit
val get : 'a Vec.t -> int -> 'a
val set : 'a Vec.t -> int -> 'a -> unit
val set_all : 'a Vec.t -> int -> int -> 'a -> unit
val push : 'a Vec.t -> 'a -> unit
val pop : 'a Vec.t -> 'a
val top : 'a Vec.t -> 'a
val insert : 'a Vec.t -> int -> 'a -> unit
val delete : 'a Vec.t -> int -> unit
val swap : 'a Vec.t -> int -> int -> unit
val swap_out : 'a Vec.t -> int -> unit
val rev : 'a Vec.t -> unit
val iter : ('a -> unit) -> 'a Vec.t -> unit
val iter_const : ('a -> 'b -> unit) -> 'a -> 'b Vec.t -> unit
val iteri : (int -> 'a -> unit) -> 'a Vec.t -> unit
val iteri_const : ('a -> int -> 'b -> unit) -> 'a -> 'b Vec.t -> unit
val modify : ('a -> 'a) -> 'a Vec.t -> unit
val modify_const : ('a -> 'b -> 'b) -> 'a -> 'b Vec.t -> unit
val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b Vec.t -> 'a
val fold_right : ('a -> 'b -> 'b) -> 'a Vec.t -> 'b -> 'b
val foldi_left : ('a -> int -> 'b -> 'a) -> 'a -> 'b Vec.t -> 'a
val foldi_right : (int -> 'a -> 'b -> 'b) -> 'a Vec.t -> 'b -> 'b
val fold_left_const : ('a -> 'b -> 'c -> 'b) -> 'a -> 'b -> 'c Vec.t -> 'b
val fold_right_const : ('a -> 'b -> 'c -> 'c) -> 'a -> 'b Vec.t -> 'c -> 'c
val foldi_left_const :
('a -> 'b -> int -> 'c -> 'b) -> 'a -> 'b -> 'c Vec.t -> 'b
val foldi_right_const :
('a -> int -> 'b -> 'c -> 'c) -> 'a -> 'b Vec.t -> 'c -> 'c
val mem : 'a -> 'a Vec.t -> bool
val exists : ('a -> bool) -> 'a Vec.t -> bool
val exists_const : ('a -> 'b -> bool) -> 'a -> 'b Vec.t -> bool
val for_all : ('a -> bool) -> 'a Vec.t -> bool
val for_all_const : ('a -> 'b -> bool) -> 'a -> 'b Vec.t -> bool
val find : ('a -> bool) -> 'a Vec.t -> 'a
val find_const : ('a -> 'b -> bool) -> 'a -> 'b Vec.t -> 'b
val first : ('a -> bool) -> 'a Vec.t -> int
val first_const : ('a -> 'b -> bool) -> 'a -> 'b Vec.t -> int
val filter : ('a -> bool) -> 'a Vec.t -> unit
val filter_const : ('a -> 'b -> bool) -> 'a -> 'b Vec.t -> unit
val filteri : (int -> 'a -> bool) -> 'a Vec.t -> unit
val filteri_const : ('a -> int -> 'b -> bool) -> 'a -> 'b Vec.t -> unit
val fast_filter : ('a -> bool) -> 'a Vec.t -> unit
val fast_filter_const : ('a -> 'b -> bool) -> 'a -> 'b Vec.t -> unit
val sort : ('a -> 'a -> int) -> 'a Vec.t -> unit
val stable_sort : ('a -> 'a -> int) -> 'a Vec.t -> unit
end
Hosted by the
* web site.
*Other names and brands may be claimed as the property
of others.