Module V9.Array

include module type of struct include Stdlib.Array end
type !'a t = 'a array
val length : 'a array -> int
val init : int -> (int -> 'a) -> 'a array
val create_matrix : int -> int -> 'a -> 'a array array
  • deprecated Use Array.make_matrix/ArrayLabels.make_matrix instead.
val append : 'a array -> 'a array -> 'a array
val concat : 'a array list -> 'a array
val copy : 'a array -> 'a array
val to_list : 'a array -> 'a list
val of_list : 'a list -> 'a array
val iter : ('a -> unit) -> 'a array -> unit
val iteri : (int -> 'a -> unit) -> 'a array -> unit
val map : ('a -> 'b) -> 'a array -> 'b array
val mapi : (int -> 'a -> 'b) -> 'a array -> 'b array
val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b array -> 'a
val fold_left_map : ('a -> 'b -> 'a * 'c) -> 'a -> 'b array -> 'a * 'c array
val fold_right : ('b -> 'a -> 'a) -> 'b array -> 'a -> 'a
val for_all : ('a -> bool) -> 'a array -> bool
val exists : ('a -> bool) -> 'a array -> bool
val for_all2 : ('a -> 'b -> bool) -> 'a array -> 'b array -> bool
val exists2 : ('a -> 'b -> bool) -> 'a array -> 'b array -> bool
val mem : 'a -> 'a array -> bool
val memq : 'a -> 'a array -> bool
val find_opt : ('a -> bool) -> 'a array -> 'a option
val find_map : ('a -> 'b option) -> 'a array -> 'b option
val split : ('a * 'b) array -> 'a array * 'b array
val of_seq : 'a Stdlib.Seq.t -> 'a array
val get : [> `You_cannot_access_array_content_in_the_protocol ]
val unsafe_get : [> `You_cannot_access_array_content_in_the_protocol ]
val set : [> `You_cannot_modify_array_content_in_the_protocol ]
val unsafe_set : [> `You_cannot_modify_array_content_in_the_protocol ]
val to_seq : [> `You_cannot_traverse_arrays_lazily_in_the_protocol ]
val to_seqi : [> `You_cannot_traverse_arrays_lazily_in_the_protocol ]
val make : [> `You_cannot_build_arrays_with_implicit_sharing_in_the_protocol ]
val create : [> `You_cannot_build_arrays_with_implicit_sharing_in_the_protocol ]
val make_matrix : [> `You_cannot_build_arrays_with_implicit_sharing_in_the_protocol ]
val create_float : [> `You_cannot_use_floats_in_the_protocol ]
val make_float : [> `You_cannot_use_floats_in_the_protocol ]
val sub : [> `You_cannot_cut_arrays_in_the_protocol ]
val fill : [> `You_cannot_fill_arrays_in_the_protocol ]
val blit : [> `You_cannot_blit_arrays_in_the_protocol ]
val iter2 : [> `You_cannot_traverse_2_arrays_at_once_in_the_protocol ]
val map2 : [> `You_cannot_traverse_2_arrays_at_once_in_the_protocol ]
val combine : [> `You_cannot_traverse_2_arrays_at_once_in_the_protocol ]
val sort : [> `You_cannot_sort_arrays_in_the_protocol ]
val stable_sort : [> `You_cannot_sort_arrays_in_the_protocol ]
val fast_sort : [> `You_cannot_sort_arrays_in_the_protocol ]
module Floatarray : sig ... end