Skip to content

Commit cbcf38a

Browse files
author
Damien Doligez
committedJan 11, 2012
cut long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1 parent 25065da commit cbcf38a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

Diff for: ‎stdlib/list.mli

+6-6
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ val iter : ('a -> unit) -> 'a list -> unit
7676
[begin f a1; f a2; ...; f an; () end]. *)
7777

7878
val iteri : (int -> 'a -> unit) -> 'a list -> unit
79-
(** Same as {!List.iter}, but the
80-
function is applied to the index of the element as first argument (counting from 0),
81-
and the element itself as second argument.
79+
(** Same as {!List.iter}, but the function is applied to the index of
80+
the element as first argument (counting from 0), and the element
81+
itself as second argument.
8282
@since 3.13.0
8383
*)
8484

@@ -88,9 +88,9 @@ val map : ('a -> 'b) -> 'a list -> 'b list
8888
with the results returned by [f]. Not tail-recursive. *)
8989

9090
val mapi : (int -> 'a -> 'b) -> 'a list -> 'b list
91-
(** Same as {!List.map}, but the
92-
function is applied to the index of the element as first argument (counting from 0),
93-
and the element itself as second argument.
91+
(** Same as {!List.map}, but the function is applied to the index of
92+
the element as first argument (counting from 0), and the element
93+
itself as second argument. Not tail-recursive.
9494
@since 3.13.0
9595
*)
9696

0 commit comments

Comments
 (0)
Please sign in to comment.