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.1/ocaml-version-4.1.1.tbz
md5=7ae8334dafa5f589bd320e47f3375484
sha512=074387a4dd672294f0ac8a93cbe32c3f25e0f06d0da45f503986a22dda3bed8fd801290945e19cc6f17c7b838fab4e0a390a8cf43aa9cbc8a359a69d3e4e0d5a
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocaml-version/ocaml-version.4.1.1/opam