NS.Arrayinclude module type of ContainersLabels.Arraymodule Floatarray : sig ... endval lookup : cmp:'a ord -> key:'a -> 'a array -> int optionval lookup_exn : cmp:'a ord -> key:'a -> 'a array -> intval random_choose : 'a array -> 'a random_genval to_iter : 'a array -> 'a iterval to_gen : 'a array -> 'a genval random : 'a random_gen -> 'a array random_genval random_non_empty : 'a random_gen -> 'a array random_genval random_len : int -> 'a random_gen -> 'a array random_genmodule type MONO_ARRAY = sig ... endval sort_generic :
(module MONO_ARRAY with type elt = 'elt and type t = 'arr) ->
cmp:('elt -> 'elt -> int) ->
'arr ->
unitmodule Infix : sig ... endinclude Ppx_compare_lib.Comparable.S1 with type 'a t := 'a tval compare :
'a Base__Ppx_compare_lib.compare ->
'a t Base__Ppx_compare_lib.compareinclude Ppx_compare_lib.Equal.S1 with type 'a t := 'a tval equal : 'a Base__Ppx_compare_lib.equal -> 'a t Base__Ppx_compare_lib.equalsub a ~pos ~len returns a fresh array of length len, containing the elements number pos to pos + len - 1 of array a. If omitted, pos defaults to the beginning of the array and len defaults to the rest of the array.
val of_ : 'a -> 'a tval of_list_rev : 'a list -> 'a tval of_list_map : 'a list -> f:('a -> 'b) -> 'b tLike map, but specialized to require f to be an endofunction, which enables preserving == if f preserves == of every element.
val is_empty : 'a t -> boolval mem : 'a -> 'a t -> eq:('a -> 'a -> bool) -> boolval contains_adjacent_duplicate : eq:('a -> 'a -> bool) -> 'a t -> boolval iter : 'a t -> f:('a -> unit) -> unitval iteri : 'a t -> f:(int -> 'a -> unit) -> unitval exists : 'a t -> f:('a -> bool) -> boolval for_all : 'a t -> f:('a -> bool) -> boolval fold : 'a t -> 's -> f:('a -> 's -> 's) -> 'sval fold_right : 'a t -> 's -> f:('a -> 's -> 's) -> 's