ocaml-versionversion Documentation on ocaml.org

Manipulate, parse and generate OCaml compiler version strings

This library provides facilities to parse version numbers of the OCaml compiler, and enumerates the various official OCaml releases and configuration variants.

OCaml version numbers are of the form major.minor.patch+extra, where the patch and extra fields are optional. This library offers the following functionality:

  • Functions to parse and serialise OCaml compiler version numbers.
  • Enumeration of official OCaml compiler version releases.
  • Test compiler versions for a particular feature (e.g. the bytes type)
  • opam compiler switch enumeration.

Further information

Tags org:ocamllabs
AuthorAnil Madhavapeddy <anil@recoil.org>
LicenseISC
Published
Homepagehttps://github.com/ocurrent/ocaml-version
Issue Trackerhttps://github.com/ocurrent/ocaml-version/issues
Documentationhttps://ocurrent.github.io/ocaml-version/doc
MaintainerAnil Madhavapeddy <anil@recoil.org>
Dependencies
Source [http] https://github.com/ocurrent/ocaml-version/releases/download/v4.1.2/ocaml-version-4.1.2.tbz
md5=80571d18957c498b4dcd320041442761
sha512=87efe16450c51f776f92cbae743d4304f09123c3ac481cdb8302c40c6b07a2dd92771e660a3610a26725d4f2115eab852f344ebdd868960cd9d0a48e363d8706
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocaml-version/ocaml-version.4.1.2/opam