Issue 16 in ocaml-extlib: Error in documentation of DynArray.iteri

1 view
Skip to first unread message

codesite...@google.com

unread,
Jul 2, 2010, 6:03:11 AM7/2/10
to ocaml-extlib-...@googlegroups.com
Status: New
Owner: ----

New issue 16 by johan.mazel: Error in documentation of DynArray.iteri
http://code.google.com/p/ocaml-extlib/issues/detail?id=16

What is the expected output? What do you see instead?

In the documentation, the expected documentation of DynArray.iteri would be:

val iteri : (int -> 'a -> unit) -> 'a t -> unit

iteri f darr calls the function f on every element of darr. It is
equivalent to for i = 0 to length darr - 1 do f i (get darr i) done;

Instead, the following text is present:

val iteri : (int -> 'a -> unit) -> 'a t -> unit

iter f darr calls the function f on every element of darr. It is equivalent
to for i = 0 to length darr - 1 do f i (get darr i) done;

Note to moderators/administrators: I don't know where to send this kind of
issue so I put it right here. Feel free to move/destroy/change.

codesite...@google.com

unread,
Mar 6, 2011, 9:29:13 AM3/6/11
to ocaml-extlib-...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 16 by ygrekher...@gmail.com: Error in documentation of
DynArray.iteri
http://code.google.com/p/ocaml-extlib/issues/detail?id=16

Fixed in r386, thanks

Reply all
Reply to author
Forward
0 new messages