diff options
| author | Xavier Leroy <xavier.leroy@inria.fr> | 1995-09-12 14:05:37 +0000 |
|---|---|---|
| committer | Xavier Leroy <xavier.leroy@inria.fr> | 1995-09-12 14:05:37 +0000 |
| commit | 79b047e6414d6252836b0694cfd513e02854bf03 (patch) | |
| tree | fe19283e96248f41a67dced0a5d951fff9dcec3c /stdlib/array.mli | |
| parent | cac55cacd637d015c1f43b94cb6c4da74f54f703 (diff) | |
| download | ocaml-79b047e6414d6252836b0694cfd513e02854bf03.tar.gz | |
Rectif commentaires de doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@266 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/array.mli')
| -rw-r--r-- | stdlib/array.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/array.mli b/stdlib/array.mli index de301b69cc..481e7f7891 100644 --- a/stdlib/array.mli +++ b/stdlib/array.mli @@ -21,13 +21,13 @@ external get: 'a array -> int -> 'a = "%array_safe_get" The last element has number [Array.length a - 1]. Raise [Invalid_argument "Array.get"] if [n] is outside the range 0 to [(Array.length a - 1)]. - You can also write [a.(n)] instead of [vect_item a n]. *) + You can also write [a.(n)] instead of [Array.get a n]. *) external set: 'a array -> int -> 'a -> unit = "%array_safe_set" (* [Array.set a n x] modifies array [a] in place, replacing element number [n] with [x]. Raise [Invalid_argument "Array.set"] if [n] is outside the range 0 to [Array.length a - 1]. - You can also write [a.(n) <- x] instead of [vect_assign a n x]. *) + You can also write [a.(n) <- x] instead of [Array.set a n x]. *) external new: int -> 'a -> 'a array = "make_vect" (* [Array.new n x] returns a fresh array of length [n], initialized with [x]. |
