home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 2
/
Apprentice-Release2.iso
/
Tools
/
Languages
/
Caml Light 0.61
/
Source
/
src
/
lib
/
char.ml
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-09-24
|
227 b
|
13 lines
|
[
TEXT/MPS
]
(* Character operations, with sanity checks *)
#open "int";;
#open "exc";;
let char_of_int i =
if i < 0 or i > 255
then invalid_arg "char_of_int"
else fchar__char_of_int i
;;
let char_for_read = fchar__char_for_read;;