Buy new:
$49.99$49.99
FREE delivery Saturday, November 8
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Very Good
$47.49$47.49
FREE delivery Saturday, November 8
Ships from: Amazon Sold by: Bank-A-Books
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
More OCaml: Algorithms, Methods, and Diversions
Purchase options and add-ons
In More OCaml John Whitington takes a meandering tour of functional programming with OCaml, introducing various language features and describing some classic algorithms. The book ends with a large worked example dealing with the production of PDF files. There are questions for each chapter together with worked answers and hints.
More OCaml will appeal both to existing OCaml programmers who wish to brush up their skills, and to experienced programmers eager to explore functional languages such as OCaml. It is hoped that each reader will find something new, or see an old thing in a new light. For the more casual reader, or those who are used to a different functional language, a summary of basic OCaml is provided at the front of the book.
Chapters:
- Summary of Basic OCaml
- Our Working Environment
- Unravelling "Fold"
- Being Lazy
- Named Tuples with Records
- Generalized Input/Output
- Streams of Bits
- Compressing Data
- Labelled and Optional Arguments
- Formatted Printing
- Searching for Things
- Finding Permutations
- Making Sets
- Playing Games
- Representing Documents
- Writing Documents
- Pretty Pictures
- Adding Text
- Answers to Questions
- Hints for Questions
- Coping with Errors
- ISBN-100957671113
- ISBN-13978-0957671119
- Publication dateAugust 26, 2014
- LanguageEnglish
- Dimensions7.5 x 0.49 x 9.25 inches
- Print length216 pages
Frequently bought together

Frequently purchased items with fast delivery
Data Structures and Algorithms in PythonHardcoverFREE Shipping by AmazonGet it as soon as Saturday, Nov 8
Programming in HaskellPaperback27% offLimited time dealFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Nov 80% Claimed
Data Structures & Algorithms in Python (Developer's Library)PaperbackFREE Shipping by AmazonGet it as soon as Saturday, Nov 8
Algorithms Illuminated (Part 2): Graph Algorithms and Data StructuresPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Nov 8
Fluent C: Principles, Practices, and PatternsPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Nov 8Only 9 left in stock (more on the way).
Grokking Algorithms, Second EditionPaperbackFREE Shipping by AmazonGet it as soon as Saturday, Nov 8
Customers also bought or read
- OCaml Scientific Computing: Functional Programming in Data Science and Artificial Intelligence (Undergraduate Topics in Computer Science)
Paperback$38.44$38.44FREE delivery Saturday - LLVM Code Generation: A deep dive into compiler backend development
Paperback$38.59$38.59FREE delivery Saturday - Operating Systems: Three Easy Pieces#1 Best SellerComputer Operating Systems Theory
Paperback$28.27$28.27Delivery Saturday - Writing a C Compiler: Build a Real Programming Language from Scratch
Paperback$42.43$42.43FREE delivery Saturday - Practical SQL, 2nd Edition: A Beginner's Guide to Storytelling with Data#1 Best SellerComputer Programming Structured Design
Paperback$23.99$23.99Delivery Saturday - The Rust Programming Language, 2nd Edition#1 Best SellerObject-Oriented Software Design
Paperback$30.13$30.13Delivery Saturday - Effective Haskell: Solving Real-World Problems with Strongly Typed Functional Programming
Paperback$55.05$55.05FREE delivery Saturday - Python for Data Analysis: Data Wrangling with pandas, NumPy, and Jupyter
Paperback$43.99$43.99FREE delivery Saturday - Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming#1 Best SellerIntroductory & Beginning Programming
Paperback$27.53$27.53Delivery Saturday - Graph Algorithms the Fun Way: Powerful Algorithms Decoded, Not Oversimplified
Paperback$29.99$29.99Delivery Saturday - Learn You a Haskell for Great Good!: A Beginner's Guide
Paperback$31.50$31.50FREE delivery Wed, Nov 12 - Effective C, 2nd Edition: An Introduction to Professional C Programming
Paperback$33.02$33.02Delivery Saturday
Editorial Reviews
Review
From the Author
About the Author
Product details
- Publisher : Coherent Press
- Publication date : August 26, 2014
- Language : English
- Print length : 216 pages
- ISBN-10 : 0957671113
- ISBN-13 : 978-0957671119
- Item Weight : 13.4 ounces
- Dimensions : 7.5 x 0.49 x 9.25 inches
- Best Sellers Rank: #1,996,269 in Books (See Top 100 in Books)
- #1,732 in Computer Programming Languages
- #4,995 in Programming Languages (Books)
- Customer Reviews:
About the author

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).
Customer reviews
- 5 star4 star3 star2 star1 star5 star76%18%0%6%0%76%
- 5 star4 star3 star2 star1 star4 star76%18%0%6%0%18%
- 5 star4 star3 star2 star1 star3 star76%18%0%6%0%0%
- 5 star4 star3 star2 star1 star2 star76%18%0%6%0%6%
- 5 star4 star3 star2 star1 star1 star76%18%0%6%0%0%
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on February 12, 2019Format: PaperbackVerified PurchasePlease read the first volume of this introduction by the same author first (OCaml from the very beginning). Refer to my review to the first volume: everything I said there applies to this book as well, except:
- the chapters are no longer reviewed at the end
- this book contains two very useful practical examples, not easily found elsewhere:
-- Compression algorithms
-- Generating PDF files
- Reviewed in the United States on May 23, 2015Format: PaperbackIn this book John Whitington continues the gentle introduction to OCaml and functional programming he started in « OCaml from the very Beginning ». The style is left intact: a clear prose structured in bite-size chapters complemented with questions and worked answers. A format especially well suited for self-study.
Building on the ground work of « OCaml from the very Beginning », the book introduces a few new language level concepts: laziness, records, labelled arguments and starts to introduce some elements of the module system. Regarding the latter there is no treatment of functors yet, which only raises the hopes that the book series is not over.
As its subtitle hints, the book is not only about OCaml but also about programming techniques. Using engaging examples – but without falling in the trap of only teaching how to deal with the latest technological fad – the book also unknowingly instructs you how to design data structures and programs using a non-dogmatic mix of imperative and functional programming techniques. Writing codecs, compressing data, searching data, implementing and comparing a set data structure using different approaches, analyzing the rules of a game through its game trees are a few examples of the tasks that are addressed. The book ends by showing how to generate and typeset PDFs from scratch, a topic the www can be surprisingly quiet about when one considers the widespread usage of the file format.
- Reviewed in the United States on September 22, 2014Format: PaperbackI really enjoyed this book. While 'OCaml from the Very Beginning' was intended for readers new to programming, 'More OCaml' is suitable for programmers willing to dive into OCaml and Functional Programming.
The book starts with a handy summary of OCaml, enough to get started right away. The first half of the book walks the reader through a series of chapters introducing language features (lists, user-defined datatypes, records, labels, modules) by way of applied examples and exercises. The second half of the book covers an extended example of PDF generation, that gives a glimpse inside the PDF format. Throughout the book, useful part of the standard library are covered.
I found the exposition very pragmatic (with a mix of imperative and functional techniques) and effective. The programs used as example and exercises are fun and challenging. Extending and running programs that exercise new knowledge is very enlightening and empowering.
All exercises come with hints and answers, and all the code is available online, there is even a section, at the end, documenting common error messages.
I heartily recommend this book to anybody willing to start learning OCaml, it is the best on-ramp to more advanced material.
- Reviewed in the United States on August 29, 2014Format: PaperbackThis book (MO) is written in the same no nonsense, straight forward way as it predecessor, OCaml from the Very Beginning (another great book). I like the fact that it provides examples of how to solve real problems, as opposed to contrived code snippets.
By the end of the book you should be able to understand how to write an OCaml program to generate PDF files, a non trivial problem whose solution exercises a pretty wide gamut of OCaml features and idioms.
After finishing this book you will probably find yourself asking a lot of questions about the language... that's because "MO" (as OFTVB before it) is an introductory book that does not go in depth about every detail of the language and its ecosystem. Depending on were you are in your journey of learning OCaml that could actually be a good thing.
Top reviews from other countries
MCReviewed in Germany on October 8, 20145.0 out of 5 stars Very good book
Format: PaperbackVerified PurchaseI really like this book. Written in the same style as "OCaml from the very beginning", it shows pragmatic use of the language - showing that one does not need the very advanced features, nor extensive knowledge of type systems to get things done. The concrete programming chapters lead to the generation of PDF files in OCaml.
I also liked the fact that the OCaml distribution is enough to get started, no need to download and install other software.
Hopefully there will be more books from the same author !

















