corrected a typo in the interface for Array.iter2

master
chrismamo1 2015-08-09 20:21:46 -05:00 committed by Damien Doligez
parent e55c03ddd9
commit 34380c8782
1 changed files with 1 additions and 1 deletions

View File

@ -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. *)