The co-op bookstore for avid readers
Book Cover for: More OCaml: Algorithms, Methods, and Diversions, John Whitington

More OCaml: Algorithms, Methods, and Diversions

John Whitington

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

Book Details

  • Publisher: Coherent Press
  • Publish Date: Aug 26th, 2014
  • Pages: 218
  • Language: English
  • Edition: undefined - undefined
  • Dimensions: 9.25in - 7.50in - 0.46in - 0.84lb
  • EAN: 9780957671119
  • Categories: Languages - General

More books to explore

Book Cover for: Python 3: The Comprehensive Guide, Johannes Ernesti
Book Cover for: Go with God, Norman Achen
Book Cover for: Crazy English, Richard Lederer
Book Cover for: Tales of the Jazz Age, F. Scott Fitzgerald
Book Cover for: The Photography of Modernist Cuisine, Nathan Myhrvold
Book Cover for: Stars in the Grass, Ann Marie Stewart
Book Cover for: Guilty at the Rapture, Keith Taylor
Book Cover for: Memories That Smell Like Gasoline, David Wojnarowicz
Book Cover for: Collaborating for English Learners: A Foundational Guide to Integrated Practices, Andrea Honigsfeld
Book Cover for: As a Man Thinketh: The Classic Guide - How Thought Affects Character, Achievement, Motivation and Success in Life, James Allen
Book Cover for: Co-Planning: Five Essential Practices to Integrate Curriculum and Instruction for English Learners, Andrea Honigsfeld
Book Cover for: Co-Teaching for English Learners: A Guide to Collaborative Planning, Instruction, Assessment, and Reflection, Maria G. Dove
Book Cover for: Cambridge Business English Dictionary, Various

About the Author

John Whitington founded a software company which uses OCaml extensively. He teaches functional programming to students of Computer Science at the University of Cambridge.

More books by John Whitington

Book Cover for: Python from the Very Beginning: With 100 exercises and answers, John Whitington
Book Cover for: OCaml from the Very Beginning, John Whitington
Book Cover for: Haskell from the Very Beginning, John Whitington
Book Cover for: PDF Explained: The ISO Standard for Document Exchange, John Whitington
Book Cover for: How Computers Make Books: From Graphics Rendering, Search Algorithms, and Functional Programming to Indexing and Typesetting, John Whitington
Book Cover for: Coherent PDF Command Line Tools: User Manual, John Whitington