Erreur dans List.nth

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1273 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1997-02-16 17:18:54 +00:00
parent 0d33755f3e
commit f1491839c2
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ let rec nth l n =
| a::l ->
if n = 0 then a else
if n > 0 then nth l (n-1) else
invalid_argument "List.nth"
invalid_arg "List.nth"
let rec rev_append accu = function
[] -> accu