Portable standard library for OCaml
Core is an industrial-strength alternative to the OCaml standard library. It was developed by Jane Street, which is the largest industrial user of OCaml.
Relationship to Core and Base
- Base: Minimal stdlib replacement. Portable and lightweight and intended to be highly stable.
- Core: Core_kernel extended with UNIX APIs.
While Core is an extension of Core_kernel, you can think of
Core_kernel as an extension of Base. Many of Core_kernel's modules are
extensions of modules in Base, where the Core_kernel version adds
bin_io support or locks in an API with
Stable. Some modules, like
Core_kernel.Map, extend their Base equivalents to follow Core
conventions for the use of comparators.
You can find all of Jane Street's open-source libraries on GitHub.
Documentation can be found here.