by Allen B. Downey and Nicholas Monje
Download How to Think Like a (Functional) Programmer in PDF.
The source to build this book is in this GitHub repository.
If you are enjoying the free online version, please consider buying me a coffee.
Description

How to Think Like a (Functional) Programmer is an introductory programming textbook based on the OCaml language. It is a modified version of Think Python by Allen Downey. It is intended for newcomers to programming and also those who know some programming but want to learn programming in the function-oriented paradigm, or those who simply want to learn OCaml.
OCaml is a powerful high-level programming language with a large emphasis on speed and efficiency. You can find out more about the language at ocaml.org.
This text leverages the power of the language to teach the reader important concepts in computer science and software design, with an emphasis on experimentation and self-directed learning.
If you have any feedback, please feel free to e-mail Nicholas Monje.
The cover for this book is based on a photo by Anumpama Kinagi.