Core
Core is Jane Street's industrial-strength alternative to the OCaml standard library.
Core provides an overlay on the usual namespace, so the best way to use Core is to start your file with:
open Core
The full API is browsable here.
Relationship to Core_kernel
Core extends Core_kernel
, which exists for cases when Core in its entirety can't be used, like in Javascript.
In sum:
- Base: Minimal stdlib replacement. Portable and lightweight and intended to be highly stable.
- Core_kernel: Extension of Base. More fully featured, with more code and dependencies, and APIs that evolve more quickly. Portable, and works on Javascript.
- Core: Core_kernel extended with UNIX APIs.