• 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
augeas0.6Aug 24, 2019
devkit1.2Aug 23, 2019
cry0.6.4Aug 23, 2019
rdbg1.184.1Aug 23, 2019
lutin2.70.4Aug 23, 2019
lutils1.49.5Aug 23, 2019