☰
The OCaml system
release 4.12
March 25, 2024
This manual is also available in
PDF
,
plain text
, as a
bundle of HTML files
, and as a
bundle of Emacs Info files
.
Select another version
The OCaml Manual
Contents
Foreword
Index of keywords
OCaml API
OCaml Compiler API
Contents
Foreword
I.
An introduction to OCaml
1.
The core language
2.
The module system
3.
Objects in OCaml
4.
Labels and variants
5.
Polymorphism and its limitations
6.
Advanced examples with classes and modules
II.
The OCaml language
7.
The OCaml language
8.
Language extensions
III.
The OCaml tools
9.
Batch compilation (ocamlc)
10.
The toplevel system or REPL (ocaml)
11.
The runtime system (ocamlrun)
12.
Native-code compilation (ocamlopt)
13.
Lexer and parser generators (ocamllex, ocamlyacc)
14.
Dependency generator (ocamldep)
15.
The documentation generator (ocamldoc)
16.
The debugger (ocamldebug)
17.
Profiling (ocamlprof)
18.
Interfacing C with OCaml
19.
Optimisation with Flambda
20.
Fuzzing with afl-fuzz
21.
Runtime tracing with the instrumented runtime
IV.
The OCaml library
22.
The core library
23.
The standard library
24.
The compiler front-end
25.
The unix library: Unix system calls
26.
The str library: regular expressions and string processing
27.
The threads library
28.
The dynlink library: dynamic loading and linking of object files
29.
Recently removed or moved libraries (Graphics, Bigarray, Num, LablTk)
V.
Indexes
Index of modules
Index of module types
Index of types
Index of exceptions
Index of values
Index of keywords
Xavier Leroy,
Damien Doligez, Alain Frisch, Jacques Garrigue, Didier Rémy and Jérôme Vouillon
Copyright © 2024 Institut National de Recherche en Informatique et en Automatique