The OCaml API

OCaml library

Ocaml_operators

Precedence level and associativity of operators

Format_tutorial

Using the Format module

CamlinternalFormatBasics
Stdlib

The OCaml Standard library.

Either

Either type.

Sys

System interface.

Obj

Operations on internal representations of values.

Atomic

Atomic references.

CamlinternalLazy

Run-time support for lazy values.

Lazy

Deferred computations.

Seq

Sequences.

Option

Option values.

Result

Result values.

Bool

Boolean values.

Char

Character operations.

Uchar

Unicode characters.

List

List operations.

Int

Integer values.

Bytes

Byte sequence operations.

String

Strings.

Unit

Unit values.

Marshal

Marshaling of data structures.

Array

Array operations.

Float

Floating-point arithmetic.

Int32

32-bit integers.

Int64

64-bit integers.

Nativeint

Processor-native integers.

Lexing

The run-time library for lexers generated by ocamllex.

Parsing

The run-time library for parsers generated by ocamlyacc.

Set

Sets over ordered types.

Map

Association tables over ordered types.

Stack

Last-in first-out stacks.

Queue

First-in first-out queues.

Buffer

Extensible buffers.

Mutex

Locks for mutual exclusion.

Condition

Condition variables.

Semaphore

Semaphores

Domain
CamlinternalFormat
Printf

Formatted output functions.

Arg

Parsing of command line arguments.

Printexc

Facilities for printing exceptions and inspecting current call stack.

Fun

Function manipulation.

Gc

Memory management control and statistics; finalised values.

Digest

MD5 message digest.

Bigarray

Large, multi-dimensional, numerical arrays.

Random

Pseudo-random number generators (PRNG).

Hashtbl

Hash tables and hash functions.

Weak

Arrays of weak pointers and hash sets of weak pointers.

Format

Pretty-printing.

Scanf

Formatted input functions.

Callback

Registering OCaml values with the C runtime.

CamlinternalOO

Run-time support for objects and classes.

Oo

Operations on objects

CamlinternalMod

Run-time support for recursive modules.

Ephemeron

Ephemerons and weak hash tables.

Filename

Operations on file names.

Complex

Complex numbers.

ArrayLabels

Array operations.

ListLabels

List operations.

BytesLabels

Byte sequence operations.

StringLabels

Strings.

MoreLabels

Extra labeled libraries.

StdLabels

Standard labeled libraries.

In_channel

Input channels.

Out_channel

Output channels.

Effect

Effects.

Dynlink

Dynamic loading of .cmo, .cma and .cmxs files.

Str

Regular expressions and high-level string processing

Unix

Interface to the Unix system.

UnixLabels

Interface to the Unix system.

Thread

Lightweight threads for Posix 1003.1c and Win32.

Event

First-class synchronous communication.