opam-version: "2.0"
maintainer: "simon.cruanes.2007@m4x.org"
authors: "Simon Cruanes"
homepage: "https://github.com/c-cube/ocaml-containers/"
bug-reports: "https://github.com/c-cube/ocaml-containers/issues/"
doc: "https://c-cube.github.io/ocaml-containers"
tags: ["stdlib" "containers" "iterators" "list" "heap" "queue"]
dev-repo: "git+https://github.com/c-cube/ocaml-containers.git"
build: [
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test}
  ["jbuilder" "build" "@doc"] {with-doc}
]
depends: [
  "ocaml" {>= "4.02.0" & < "4.08.0"}
  "jbuilder" {>= "1.0+beta12"}
  "base-bytes"
  "result" {< "1.5"}
  "qtest" {with-test}
  "qcheck" {with-test & >= "0.9"}
  "ounit" {with-test}
  "sequence" {with-test}
  "gen" {with-test}
  "odoc" {with-doc}
]
depopts: [
  "base-unix"
  "base-threads"
]
conflicts: [
  "sequence" {< "0.5"}
]
post-messages:
  "
Major release with some breaking changes in the API.

These changes belong to 3 categories:
- make `open Containers` replace polymorphic operators with monomorphic ones
- make most optional arguments relying on polymorphic operators mandatory
- improve consistency of printers

changelog: https://github.com/c-cube/ocaml-containers/blob/2.0/CHANGELOG.adoc
  "
synopsis:
  "A modular, clean and powerful extension of the OCaml standard library."
description: """
Containers is an extension of OCaml's standard library (under BSD license)
focused on data structures, combinators and iterators, without dependencies on
unix, str or num. Every module is independent and is prefixed with 'CC' in the
global namespace. Some modules extend the stdlib (e.g. CCList provides safe
map/fold_right/append, and additional functions on lists).
Alternatively, `open Containers` will bring enhanced versions of the standard
modules into scope.

It also features sub-libraries for dealing with threads, S-expressions,
and the intricacies of unix."""
url {
  src: "https://github.com/c-cube/ocaml-containers/archive/2.0.tar.gz"
  checksum: "md5=595aae472fa27b294b1aa8d49c4f90ed"
}
