OCaml from the Very Beginning

Huge savings for students

Each student receives a 50% discount off of most books in the HSG Book Store. During class, please ask the instructor about purchase details.
List Price: $39.99
Price: $20.00
You Save: $20.00

In OCaml from the Very Beginning John Whitington takes a no-prerequisites approach to teaching a modern general-purpose programming language. Each small, self-contained chapter introduces a new topic, building until the reader can write quite substantial programs. There are plenty of questions and, crucially, worked answers and hints.

OCaml from the Very Beginning will appeal both to new programmers, and experienced programmers eager to explore functional languages such as OCaml. It is suitable both for formal use within an undergraduate or graduate curriculum, and for the interested amateur.


  • Getting Ready
  • Starting Off
  • Names and Functions
  • Case by Case
  • Making Lists
  • Sorting Things
  • Functions upon Functions upon Functions
  • When Things Go Wrong
  • Looking Things Up
  • More with Functions
  • New Kinds of Data
  • Growing Trees
  • In and Out
  • Putting Things in Boxes
  • The Other Numbers
  • The OCaml Standard Library
  • Building Bigger Programs
  • Answers to Questions
  • Hints for Questions
  • Coping with Errors
Coherent Press