Fix markup in the documentation for List.init (#2203)

master
Armaël Guéneau 2018-12-17 11:27:47 +01:00 committed by GitHub
parent d6cf27e201
commit 3735b4ab20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ val rev : 'a list -> 'a list
(** List reversal. *)
val init : int -> (int -> 'a) -> 'a list
(** [List.init len f] is [f 0; f 1; ...; f (len-1)], evaluated left to right.
(** [List.init len f] is [[f 0; f 1; ...; f (len-1)]], evaluated left to right.
@raise Invalid_argument if len < 0.
@since 4.06.0