Understand the Containers module structure
mainOCaml-containers is organized into several parts:
containers(core): The main library (packaged ascontainersinocamlfind). Modules are prefixed withCC(e.g.,CCList) to avoid namespace collisions. It also provides aContainersmodule intended to be opened as a drop-in replacement for the standard library.containers-data: A separate package containing additional data structures that do not have equivalents in the OCaml standard library.- Sub-libraries:
containers.unix: Utilities for theunixlibrary (e.g., safe sub-process spawning).containers.bencode: Bencode codec for Bittorrent-style serialization.containers.cbor: CBOR binary serialization codec.containers.scc: Functorized Strongly Connected Component algorithm.
- Standalone libraries: Some components like
iter(formerlysequence) andgenhave been moved to their own repositories and are available on opam.