Jump to ratings and reviews
Rate this book

OCaml from the Very Beginning

Rate this book
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.

204 pages, Paperback

First published June 7, 2013

23 people are currently reading
60 people want to read

About the author

John Whitington

11 books6 followers
John Whitington founded a company which builds software for electronic document processing. He studied, and taught, Computer Science at Queens’ College, Cambridge. His books include the textbooks PDF Explained (O'Reilly, 2012), OCaml from the Very Beginning (Coherent, 2013), and Haskell from the Very Beginning (Coherent, 2019) and the Popular Science book A Machine Made this Book: Ten Sketches of Computer Science (Coherent, 2016).

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
13 (25%)
4 stars
23 (45%)
3 stars
11 (21%)
2 stars
2 (3%)
1 star
2 (3%)
Displaying 1 - 6 of 6 reviews
Profile Image for Peb.
11 reviews
January 31, 2019
Reminds me during my late first year at college where I reset the programming knowledge acquired in the high school that was used for competitive programming and start over from the computational thinking through functional notation and LISP. that was kind of fun.
Profile Image for Einar.
36 reviews22 followers
May 19, 2014
Terrific book. Concise, to the point. Clear explanations. Good exercises.
Profile Image for Richard Audet.
10 reviews1 follower
January 22, 2024
OCaml-curious? This quick and easy read gives you a taste of this fascinating programming language.

Note that the Kindle edition has some wonky formatting whenever data types are shown that the publisher should have noticed, but otherwise doesn't detract from the substance of the book itself.
Profile Image for Gargi.
76 reviews6 followers
January 2, 2020
This was also a book I read! Very gentle introduction and very accessible!
3 reviews
May 23, 2023
It's fairly basic and from cursory Internet searches it looks like there's plenty of material left uncovered but it's short and very approachable.
Profile Image for serena.
9 reviews2 followers
Read
August 3, 2025
The best introduction to OCaml that I've found so far. A nice companion to Real World OCaml.
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.