logo of OCaml batteries included

OCaml Batteries Included

Batteries is just the OCaml development platform
-- a long time OCaml hacker

OCaml Batteries included (or simply "Batteries") is a community-driven effort to standardize on an consistent, documented, and comprehensive development platform for the OCaml programming language.

Batteries is meant to serve the following purposes:

  • define a standard set of libraries which may be expected on every compliant installation of OCaml;
  • organize these libraries into a hierarchy of modules;

Latest News

Batteries 2.7.0 released

Gabriel Scherer - 2017-08-17 16:11 -

Batteries 2.5.0 released, compatible with OCaml 4.03

Gabriel Scherer - 2016-05-13 05:35 -

Batteries 2.4 released

Gabriel Scherer - 2016-02-11 16:42 -

Download & Docs

Batteries can be downloaded from the forge, as usual. The code is free software, licensed under the terms of the GNU LGPL (version 2.1, or above), with the usual OCaml linking exception.
The documentation (API reference) is available from the API Reference .

Quick links:


Batteries is hosted on the OCaml forge and github:

  • project page, the forge entry point about Batteries for downloading releases.
  • source tree, with github's wonderful interface for browsing the code and submitting issues. It also has a nice wiki with non-api documentation.


Batteries is a community-developped project: anyone wishing to contribute is welcome. It was formerly led by David Teller, and is now shepherded by Edgar Friendly; see the project page and the contributor list for the full list of developers.

Project Summary



Powered By GForge Collaborative Development Environment