summaryrefslogtreecommitdiff
path: root/stdlib/char.mli
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1995-08-09 13:15:01 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1995-08-09 13:15:01 +0000
commitd0012c733a00d8d0bb3195ac59e965192660eec2 (patch)
tree5a31e9dc58e792d8e39f35da37d5a0f9b9ed4bc0 /stdlib/char.mli
parentd2e588b4f03ebb1f387460b9ad8c028857c2586c (diff)
downloadocaml-d0012c733a00d8d0bb3195ac59e965192660eec2.tar.gz
MAJ des commentaires de doc dans les interfaces
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@190 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/char.mli')
-rw-r--r--stdlib/char.mli12
1 files changed, 11 insertions, 1 deletions
diff --git a/stdlib/char.mli b/stdlib/char.mli
index 7afa37bb4d..6d7b535658 100644
--- a/stdlib/char.mli
+++ b/stdlib/char.mli
@@ -1,6 +1,16 @@
-(* Character operations *)
+(* Module [Char]: character operations *)
external code: char -> int = "%identity"
+ (* Return the ASCII code of the argument. *)
val chr: int -> char
+ (* Return the character with the given ASCII code.
+ Raise [Invalid_argument "char_of_int"] if the argument is
+ outside the range 0--255. *)
val escaped : char -> string
+ (* Return a string representing the given character,
+ with special characters escaped following the lexical conventions
+ of Caml Light. *)
+
+(*--*)
+
external unsafe_chr: int -> char = "%identity"