package core
Industrial strength alternative to OCaml's standard library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.1.tar.gz
md5=743a141234e04210e295980f7a78a6d9
sha512=61b415f4fb12c78d30649fff1aabe3a475eea926ce6edb7774031f4dc7f37ea51f5d9337ead6ec73cd93da5fd1ed0f2738c210c71ebc8fe9d7f6135a06bd176f
doc/index.html
Core
The full API is browsable here.
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. Core works with Javascript. It provides an overlay on the usual namespace, so the best way to use it is to start your file with:
open! Core
Relationship between Core and Base
In sum:
Base
: Minimal stdlib replacement. Portable and lightweight and intended to be highly stable.
Core
: Extension of Base. More fully featured, with more code and dependencies, and APIs that evolve more quickly. Portable, and works on Javascript.
Many of Core's modules are extensions of modules in Base, where the Core version adds bin_io support or locks in an API with Stable. Some modules, like Map, extend their Base equivalents to follow Core conventions for the use of comparators.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page