Array.Labelsinclude module type of struct include BatArray.Labels endOperations on Array with labels.
This module overrides a number of functions of Array by functions in which some arguments require labels. These labels are there to improve readability and safety and to let you change the order of arguments to functions. In every case, the behavior of the function is identical to that of the corresponding function of Array.
val iter2 : f:('a -> 'b -> unit) -> 'a BatArray.t -> 'b BatArray.t -> unitval exists : f:('a -> bool) -> 'a BatArray.t -> boolval for_all : f:('a -> bool) -> 'a BatArray.t -> boolval iter2i : f:(int -> 'a -> 'b -> unit) -> 'a BatArray.t -> 'b BatArray.t -> unitval map : f:('a -> 'b) -> 'a BatArray.t -> 'b BatArray.tval mapi : f:(int -> 'a -> 'b) -> 'a BatArray.t -> 'b BatArray.tval filter : f:('a -> bool) -> 'a BatArray.t -> 'a BatArray.tval filter_map : f:('a -> 'b option) -> 'a BatArray.t -> 'b BatArray.tval count_matching : f:('a -> bool) -> 'a BatArray.t -> intmodule LExceptionless = BatArray.Labels.LExceptionlessinclude module type of struct include BatArray.Labels.LExceptionless endval find : f:('a -> bool) -> 'a BatArray.t -> 'a optionval findi : f:('a -> bool) -> 'a BatArray.t -> int option