From d0012c733a00d8d0bb3195ac59e965192660eec2 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Wed, 9 Aug 1995 13:15:01 +0000 Subject: MAJ des commentaires de doc dans les interfaces git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@190 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- stdlib/char.mli | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'stdlib/char.mli') 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" -- cgit v1.2.1