corrected a typo in the interface for Array.iter2
parent
e55c03ddd9
commit
34380c8782
|
@ -127,7 +127,7 @@ val iter : ('a -> unit) -> 'a array -> unit
|
|||
the elements of [a]. It is equivalent to
|
||||
[f a.(0); f a.(1); ...; f a.(Array.length a - 1); ()]. *)
|
||||
|
||||
val iter2 : ('a -> 'b -> 'c) -> 'a array -> 'b array -> unit
|
||||
val iter2 : ('a -> 'b -> unit) -> 'a array -> 'b array -> unit
|
||||
(** [Array.iter2 f a b] applies function [f] to all the elements of [a]
|
||||
and [b].
|
||||
Raise [Invalid_argument] if the arrays are not the same size. *)
|
||||
|
|
Loading…
Reference in New Issue