Other formats: PDF | Single HTML page | Paperback | Kindle

OCaml from the Very Beginning

John Whitington

A book for those new to programming, or new to functional programming, or just new to OCaml.

Sequel: More OCaml: Algorithms, Methods & Diversions

This book has been made available free-of-charge with support from the OCaml Software Foundation.

The book’s website, including all code examples and answers to exercises, is ocaml-book.com.

Licensed under the Creative Commons BY-NC-SA 4.0.

Copyright Coherent Press 2013. Last updated 2022.