• en

The OCaml Platform

The OCaml Platform represents the best way for developers, both new and old, to write software in OCaml. It combines the core OCaml compiler with a coherent set of tools, documentation, libraries and testing resources. It’s a project led by the OCaml Labs group in Cambridge, working closely with OCaml-Pro in France, and the requirements of the Platform are being guided by the industrial OCaml Consortium.

Creating and maintaining the Platform is an ambitious, long-term project. The v0.1 is not taking arbitrary decisions about which packages are included. Instead, we are first placing the industrial contributors on a common tool-chain and workflow so that it's easier to work together and share code. We expect a standard set of libraries to emerge from consensus over time as this workflow rises in adoption.

Solid foundation

The core of the platform is the OCaml compiler, which has been developed for more than 20 years at Inria by a group of leading researchers. OCaml supports functional, imperative and object-oriented styles of programming which ease the development of flexible and reliable software. It benefits from one of the most powerful type systems, equipped with parametric polymorphism and type inference. Also, in addition to its bytecode compiler, OCaml offers a compiler that produces efficient machine code for many architectures, which is extremely useful for creating software that can run in multiple environments.

Advanced tools

A platform is more than just the compiler and packages. The OCaml Platform combines the compiler with a set of tools and resources that make writing OCaml more productive and fun. OPAM, the OCaml Package Manager, provides a robust way to obtain packages, manage dependencies, and different versions of the compiler. OCamlot provides a distributed, continuous testing service for OPAM package quality and compatibility. This ensures that, before being merged, patches submitted to the OPAM repository are thoroughly tested on the variety of supported configurations, architectures, and systems. The resulting improved build and metadata quality in turn speeds up development for all OCaml developers through earlier error feed- back.

Essential packages

  • TBD

    Lorem ipsum dolor sit amet, consectetur

  • TBD

    Sed ut perspiciatis unde omnis iste natus

  • TBD

    Ut enim ad minim veniam, quis nostrud exercitation

  • TBD

    Laboris nisi ut aliquip ex ea commodo consequat


Room to grow

The OCaml Platform makes it quick and easy to be productive as it provides a set of well tested, and well documented packages that work on a range of supported platforms. Growing beyond those packages is trivially simple as OPAM allows you to easily access multiple versions of hundreds of packages, all of which have test information available and news feeds. The OCaml Platform represents the best way for developers, both new and old, to write software in OCaml.


Package Version Date
qfs0.12Jan 27, 2020
ounit2-lwt2.2.2Jan 27, 2020
ounit22.2.2Jan 27, 2020
ounit-lwt2.2.2Jan 27, 2020
ounit2.2.2Jan 27, 2020
letsencrypt0.1.1Jan 27, 2020