$28.52 with 29 percent savings
List Price: $39.99
The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
FREE International Returns
No Import Charges & $7.29 Shipping to Canada Details

Shipping & Fee Details

Price $28.52
AmazonGlobal Shipping $7.29
Estimated Import Charges $0.00
Total $35.81

Delivery Thursday, October 3
In Stock
$$28.52 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$28.52
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

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.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

More OCaml: Algorithms, Methods, and Diversions

4.6 4.6 out of 5 stars 22 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$28.52","priceAmount":28.52,"currencySymbol":"$","integerValue":"28","decimalSeparator":".","fractionalValue":"52","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"TRqcQgofwqOfNKkaWhPjKDia5RNnViG2O%2FRv3ushOOa2M3Q%2FiN0jclv%2FcLPbDbSNounflk4tU8p9QfnSzMB1qrZYWAOG8238ZPOH3HnyWaXqOnVhcayo4ieZhk6DQJr45s2Kj1PyxS1k2BnQ4nyozg%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}]}

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

Frequently bought together

This item: More OCaml: Algorithms, Methods, and Diversions
$28.52
In Stock
Ships from and sold by Amazon.com.
+
$39.99
In Stock
Ships from and sold by Amazon.com.
+
$40.60
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Treatment
Choose items to buy together.

Editorial Reviews

Review

I found the exposition very pragmatic (with a mix of imperative and functional techniques) and effective. - Emmanuel Delaborde

From the Author

This book is a sequel to OCaml from the Very Beginning, my beginner's OCaml book. However, it is self-contained, requiring only basic OCaml knowledge. In the book, I explore some larger, more serious OCaml programs, and some of OCaml's language features, such as labelled and optional arguments, lazy evaluation, and formatted printing. I hope the book enlarges your OCaml knowledge, and improves your own programs.

Product details

  • Publisher ‏ : ‎ Coherent Press (August 26, 2014)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 216 pages
  • ISBN-10 ‏ : ‎ 0957671113
  • ISBN-13 ‏ : ‎ 978-0957671119
  • Item Weight ‏ : ‎ 13.4 ounces
  • Dimensions ‏ : ‎ 7.5 x 0.49 x 9.25 inches
  • Customer Reviews:
    4.6 4.6 out of 5 stars 22 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
John Whitington
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

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

4.6 out of 5 stars
22 global ratings

Top reviews from the United States

Reviewed in the United States on February 12, 2019
Please 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
3 people found this helpful
Report
Reviewed in the United States on May 23, 2015
In 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.
9 people found this helpful
Report
Reviewed in the United States on September 22, 2014
I 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.
5 people found this helpful
Report
Reviewed in the United States on August 29, 2014
This 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.
9 people found this helpful
Report

Top reviews from other countries

MC
5.0 out of 5 stars Very good book
Reviewed in Germany on October 8, 2014
I 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 !
One person found this helpful
Report