← All repos

ocaml-containers

A lightweight, modular standard library extension, string library, and interfaces to various libraries (unix, threads, etc.) BSD license.

data-structurelightweightmodularocamlpermissive-licenseportablestdlib
Browse cluster: OCaml Systems and Utilities
3,003commits
86contributors
7languages

Tech stack & purpose

OCaml-containers is a lightweight, modular extension of the OCaml standard library focused on data structures, combinators, and iterators. Written in OCaml and released under the BSD license, it provides independent modules prefixed with 'CC' (for "containers-core"), including utilities for lists, vectors, heaps, maps, and other data types, alongside specialized sub-libraries for handling Unix processes, bencode serialization, CBOR binary format, and strongly connected component algorithms. The project is maintained by an individual developer (referenced as "c-cube" in the repository) and emphasizes clean design, modularity, and avoiding external dependencies on Unix, str, or num libraries in its core.

Community & reference links

Languages

OCaml
82.7%
C++
16.3%
C
0.6%
Shell
0.2%
Makefile
0.1%
Dune
0.1%
Standard ML
0.0%

Contributors (top 30 of 86)