Apress Cyber Monday SALE

Practical OCaml

By Joshua B. Smith

  • eBook Price: $48.99 $10.00
  • Print Book Price: $69.99
Buy eBook Buy Print Book

Practical OCaml Cover Image

Practical OCaml is the first book to cover OCaml, a fast and efficient language with speed similar to that of C/C++. This book teaches OCaml in a straightforward and practical manner, and by the end, you'll be prepared to create your own applications with OCaml.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-59059-620-3
  • 488 Pages
  • User Level: Beginner to Advanced
  • Publication Date: October 19, 2006
  • Available eBook Formats: PDF

Related Titles

  • Introducing Gradle
  • Beginning Ubuntu for Windows and Mac Users
  • Beginning App Development with Parse and PhoneGap
  • Pro PowerShell for Database Developers
  • Common Lisp Recipes
  • Scalable Big Data Architecture
  • The Definitive Guide to MongoDB: Third Edition
  • Pivotal Certified Spring Web Application Developer Exam
  • Pro Couchbase Server
  • Pro CSS3 Layout Techniques
Full Description

Objective Caml (OCaml) is an open source programming language that allows you to utilize both functional and object-oriented programming. Sporting features such as a robust object system, type safety, and an expansive standard library, OCaml is a language that encourages pragmatic solutions instead of dogmatic ones. Boasting performance on par with the likes of C/C++, and having compilers available for a variety of platforms, including Windows, Unix, Linux, and Mac OS X, enterprise developers should consider adding this powerful language to their repertoire.

Written for experienced programmers, Practical OCaml teaches OCaml in a code-intensive fashion. Readers are encouraged to follow along with most examples using the OCaml top-level (the interactive interpreter), giving them the opportunity to consider the purpose and syntax of each line. The author's considerable knowledge of the Java, Python, and C++ languages allows him to present the material at a level and perspective that readers hailing from varied programming backgrounds will appreciate.

Language aficionados will be sure to enjoy the occasional digression into tangential topics such as OCaml's impurities from the functional programming perspective, with thoughts about how to overcome them using mutability, references, and classes.

In later chapters, you’ll put what you've learned to work, building applications capable of performing complex log-file processing, crawling the Web, filtering spam, and even broadcasting audio over a network using the Shoutcast protocol.

What you’ll learn

  • Primitive and composite types
  • Collections
  • File and I/O
  • Modules and functors
  • Ocamllex and Ocamlyacc
  • OCamldoc
  • Threading
  • The Camlp4 preprocessor and pretty printer

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. R Recipes

      $27.99 $10.00

      View Book

    2. Beginning Haskell

      $34.99 $10.00

      View Book

    3. Practical Clojure

      $34.99 $10.00

      View Book