OcamIL

Modules


Links

Meaning of icons :
Implemented.
Not yet implemented.
Compatibility with OCaml certified.
Lacks or incompatibilities.
[]Comments to read.

Pervasives 92%

Exceptions

raise
invalid_arg
failwith

Comparisons

( = )
( <> )
( < )
( > )
( <= )
( >= )
compare
min
max
( == )
( != )

Boolean operations

not
( && )
( & )
( || )
( or )

Integer arithmetic

( ~- )
succ
pred
( + )
( - )
( * )
( / )
( mod )
abs
max_int
min_int

Bitwise operations

( land )
( lor )
( lxor )
lnot
( lsl )
( lsr )
( asr )

Floating-point arithmetic

( ~-. )
( +. )
( -. )
( *. )
( /. )
( ** )
sqrt
exp
log
log10
cos
sin
tan
acos
asin
atan
atan2
cosh
sinh
tanh
ceil
floor
abs_float
mod_float
frexp
ldexp
modf
float
float_of_int
truncate
int_of_float
infinity
neg_infinity
nan
max_float
min_float
epsilon_float
classify_float

String operations

( ^ )

Character operations

int_of_char
char_of_int

Unit operations

ignore

String conversion functions

string_of_bool
bool_of_string
string_of_int
int_of_string
string_of_float
float_of_string

Pair operations

fst
snd

List operations

( @ )

Input/output

stdin
stdout
stderr

Output functions on standard output

print_char
print_string
print_int
print_float
print_endline
print_newline

Output functions on standard error

prerr_char
prerr_string
prerr_int
prerr_float
prerr_endline
prerr_newline

Input functions on standard input

read_line
read_int
read_float

General output functions

open_out
open_out_bin
open_out_gen
flush
flush_all
output_char
output_string
output
output_byte
output_binary_int
output_value
seek_out
pos_out
out_channel_length
close_out
set_binary_mode_out

General input functions

open_in
open_in_bin
open_in_gen
input_char
input_line
input
really_input
input_byte
input_binary_int
input_value
seek_in
pos_in
in_channel_length
close_in
set_binary_mode_in

Operations on large files

MODULE LargeFile

seek_out
pos_out
out_channel_length
seek_in
pos_in
in_channel_length

References

ref
( ! )
( := )
incr
decr

Program termination

exit
at_exit

For system use only, not for the casual user

unsafe_really_input
do_at_exit