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.5/ocaml-version-4.1.5.tbz
md5=073a0aad66a932f3670f4c6b9d9cb2dd
sha512=e98cb3cee33aa5393c08bc13be96ad03ffdae577ae316b0355bf6a83cbca055256701fc46c9ea4627c85c420f664d66fa08cc5e9bf73ea5dbd9bbe73112898de
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocaml-version/ocaml-version.4.1.5/opam