Download Real World OCaml: Functional programming for the masses by Yaron Minsky, Anil Madhavapeddy, Jason Hickey PDF

By Yaron Minsky, Anil Madhavapeddy, Jason Hickey

Learn tips on how to clear up day by day difficulties in info processing, numerical computation, procedure scripting, and database-driven net purposes with the OCaml multi-paradigm programming language. This hands-on e-book exhibits you the way to use OCaml’s practical, vital, and object-oriented programming types with recipes for lots of real-world tasks.

You’ll commence with OCaml fundamentals, together with how you can manage a improvement setting, and movement towards extra complicated issues reminiscent of the module process, foreign-function interface, macro language, and the ocamlbuild method. speedy the best way to placed OCaml to paintings for writing succinct and readable code.

Show description

By Yaron Minsky, Anil Madhavapeddy, Jason Hickey

Learn tips on how to clear up day by day difficulties in info processing, numerical computation, procedure scripting, and database-driven net purposes with the OCaml multi-paradigm programming language. This hands-on e-book exhibits you the way to use OCaml’s practical, vital, and object-oriented programming types with recipes for lots of real-world tasks.

You’ll commence with OCaml fundamentals, together with how you can manage a improvement setting, and movement towards extra complicated issues reminiscent of the module process, foreign-function interface, macro language, and the ocamlbuild method. speedy the best way to placed OCaml to paintings for writing succinct and readable code.

Show description

Read Online or Download Real World OCaml: Functional programming for the masses (beta 2 open edition) PDF

Similar world books

This Fleeting World: A Short History of Humanity

An outstanding historian could make transparent the connections among the 1st Homo sapiens and this present day s model of the species, and an outstanding storyteller could make these connections come alive. David Christian is either, and This Fleeting global: a quick background of Humanity, makes the adventure from the earliest foraging period to the agrarian period to our personal sleek period a desirable one.

World Wide Web: Technische Grundlagen

Das world-wide-web ist zweifelsohne eine der wichtigsten Entwicklungen des vergangenen Jahrzehnts. Seit den Anfängen 1990 hat es sich von einem zunächst sehr einfachen Modell von Ressource-Namen (URL), einem Übertragungsprotokoll (HTTP) und einer Sprache für die Beschreibung miteinander verbundener Dokumente (HTML) zu einer weit komplexeren Infrastruktur entwickelt.

Why women cry : or, Wenches with wrenches

This can be a copy of a e-book released prior to 1923. This booklet could have occasional imperfections corresponding to lacking or blurred pages, bad photos, errant marks, and so on. that have been both a part of the unique artifact, or have been brought by way of the scanning technique. We think this paintings is culturally vital, and regardless of the imperfections, have elected to carry it again into print as a part of our carrying on with dedication to the upkeep of published works around the globe.

The World in Venice: Print, the City, and Early Modern Identity

Positing a dynamic courting among print tradition and social adventure, Bronwen Wilson's the area in Venice makes a speciality of the broadcast photo in the course of a century of profound transformation. urban perspectives, gown illustrations, occasions, and snap shots of locals and foreigners are introduced jointly to teach how printmakers answered to an increasing picture of the area in Renaissance Venice, and the way, in flip, prints prompted the ways that contributors thought of themselves.

Extra resources for Real World OCaml: Functional programming for the masses (beta 2 open edition)

Sample text

That's because the standard library isn't a general-purpose tool; it was developed for use in bootstrapping the compiler, and is purposefully kept small and simple. Happily, in the world of open-source software nothing stops alternative libraries from being written to supplement the compiler-supplied standard library, and this is exactly what the Core distribution is. Jane Street, a company that has been using OCaml for more than a decade, developed Core for its own internal use, but designed it from the start with an eye towards being a general-purpose standard library.

We'll also use OPAM for installing the utop command-line interface. This is a modern interactive tool that supports command history, macro expansion, module completion, and other niceties that make it much more pleasant to work with the language. We'll be using utop throughout the book instead of the normal OCaml toplevel. About this book Real World OCaml is aimed at programmers who have some experience with conventional programming languages, but not specifically with statically-typed functional programming.

Algebraic datatypes and pattern matching to define and manipulate complex data structures. Available in Scala and F#. Some of you will know and love these features, and others will be completely new to them. Most of you will have seen some of them in other languages that you've used. As we'll demonstrate over the course of this book, there is something transformative about having them all together and able to interact in a single language. Despite their importance, these ideas have made only limited inroads into mainstream languages and when they do arrive there, like higher-order functions in C# or parametric polymorphism in Java, it's typically in a limited and awkward form.

Download PDF sample

Rated 4.20 of 5 – based on 8 votes