The OCaml system, release 4.05

The OCaml system
release 4.05
Documentation and user’s manual
Xavier Leroy,
Damien Doligez, Alain Frisch, Jacques Garrigue, Didier Rémy and Jérôme Vouillon
July 13, 2017
Copyright © 2013 Institut National de Recherche en Informatique et en Automatique

> This manual is also available in PDF. Postscript, DVI, plain text, as a bundle of HTML files, and as a bundle of Emacs Info files.

- Contents
- Foreword

# Part I An introduction to OCaml

- Chapter 1 The core language
- Chapter 2 The module system
- Chapter 3 Objects in OCaml
- Chapter 4 Labels and variants
- Chapter 5 Advanced examples with classes and modules

# Part II The OCaml language

- Chapter 6 The OCaml language
- Chapter 7 Language extensions

# Part III The OCaml tools

- Chapter 8 Batch compilation (ocamlc)
- Chapter 9 The toplevel system (ocaml)
- Chapter 10 The runtime system (ocamlrun)
- Chapter 11 Native-code compilation (ocamlopt)
- Chapter 12 Lexer and parser generators (ocamllex, ocamlyacc)
- Chapter 13 Dependency generator (ocamldep)
- Chapter 14 The browser/editor (ocamlbrowser)
- Chapter 15 The documentation generator (ocamldoc)
- Chapter 16 The debugger (ocamldebug)
- Chapter 17 Profiling (ocamlprof)
- Chapter 18 The ocamlbuild compilation manager
- Chapter 19 Interfacing C with OCaml
- Chapter 20 Optimisation with Flambda
- Chapter 21 Memory profiling with Spacetime
- Chapter 22 Fuzzing with afl-fuzz

# Part IV The OCaml library

- Chapter 23 The core library
- Chapter 24 The standard library
- Chapter 25 The compiler front-end
- Chapter 26 The unix library: Unix system calls
- Chapter 27 The num library: arbitrary-precision rational arithmetic
- Chapter 28 The str library: regular expressions and string processing
- Chapter 29 The threads library
- Chapter 30 The graphics library
- Chapter 31 The dynlink library: dynamic loading and linking of object files
- Chapter 32 The bigarray library

# Part V Appendix

- Index of modules
- Index of module types
- Index of types
- Index of exceptions
- Index of values

- Index of keywords

> This document was translated from LATEX by HEVEA.