The OCaml API

OCaml library

Format_tutorial
Using the Format module
Ocaml_operators
Precedence level and associativity of operators
Arg
Parsing of command line arguments.
Array
Array operations.
ArrayLabels
Array operations.
Atomic
Atomic references.
Bigarray
Large, multi-dimensional, numerical arrays.
Bool
Boolean values.
Buffer
Extensible buffers.
Bytes
Byte sequence operations.
BytesLabels
Byte sequence operations.
Callback
Registering OCaml values with the C runtime.
Char
Character operations.
Complex
Complex numbers.
Condition
Condition variables.
Digest
Message digest.
Domain
Domains.
Dynarray
Dynamic arrays.
Dynlink
Dynamic loading of .cmo, .cma and .cmxs files.
Effect
Effects.
Either
Either type.
Ephemeron
Ephemerons and weak hash tables.
Event
First-class synchronous communication.
Filename
Operations on file names.
Float
Floating-point arithmetic.
Format
Pretty-printing.
Fun
Function manipulation.
Gc
Memory management control and statistics; finalised values.
Hashtbl
Hash tables and hash functions.
Iarray
In_channel
Input channels.
Int
Integer values.
Int32
32-bit integers.
Int64
64-bit integers.
Lazy
Deferred computations.
Lexing
The run-time library for lexers generated by ocamllex.
List
List operations.
ListLabels
List operations.
Map
Association tables over ordered types.
Marshal
Marshaling of data structures.
MoreLabels
Extra labeled libraries.
Mutex
Locks for mutual exclusion.
Nativeint
Processor-native integers.
Obj
Operations on internal representations of values.
Oo
Operations on objects
Option
Option values.
Out_channel
Output channels.
Pair
Operations on pairs.
Parsing
The run-time library for parsers generated by ocamlyacc.
Pqueue
Priority queues.
Printexc
Facilities for printing exceptions and inspecting current call stack.
Printf
Formatted output functions.
Queue
First-in first-out queues.
Random
Pseudo-random number generators (PRNG).
Repr
Functions defined on the low-level representations of values.
Result
Result values.
Runtime_events
Runtime events - ring buffer-based runtime tracing
Scanf
Formatted input functions.
Semaphore
Semaphores
Seq
Sequences.
Set
Sets over ordered types.
Stack
Last-in first-out stacks.
StdLabels
Standard labeled libraries.
Stdlib
The OCaml Standard library.
Str
Regular expressions and high-level string processing
String
Strings.
StringLabels
Strings.
Sys
System interface.
Thread
Lightweight threads for Posix 1003.1c and Win32.
Type
Type introspection.
Uchar
Unicode characters.
Unit
Unit values.
Unix
Interface to the Unix system.
UnixLabels
Interface to the Unix system.
Weak
Arrays of weak pointers and hash sets of weak pointers.
CamlinternalFormat
CamlinternalFormatBasics
CamlinternalLazy
Run-time support for lazy values.
CamlinternalMod
Run-time support for recursive modules.
CamlinternalOO
Run-time support for objects and classes.