The first edition of Real World OCaml is freely available online. It introduces you to OCaml, an industrial-strength programming language designed for expressiveness, safety, and speed.
The online HTML version of the book is available under a Creative Commons Attribution- Noncommercial-No Derivative Works 3.0 United States License.
Topics included: A Guided Tour • Variables and Functions • Lists and Patterns • Files, Modules, and Programs • Records • Variants • Error Handling • Imperative Programming • Functors • First-Class Modules • Objects • Classes • Maps and Hash Tables • Command-Line Parsing • Handling JSON Data • Parsing with OCamllex and Menhir • Data Serialization with S-Expressions • Concurrent Programming with Async • Foreign Function Interface • Memory Representation of Values • Understanding the Garbage Collector • The Compiler Frontend: Parsing and Type Checking • The Compiler Backend: Bytecode and Native code.
Download Free PDF / Read Online
Publisher: O’Reilly Media
Published: November 2013
Format(s): HTML (Online)
Number of pages: 510
Download / View Link(s): Read online.