ocaml-versionversion

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
MaintainerAnil Madhavapeddy <anil@recoil.org>
Dependencies
Source [http] https://github.com/ocurrent/ocaml-version/releases/download/v3.6.2/ocaml-version-3.6.2.tbz
sha256=5c9d31abbd59891dfda6140850b5c50cb1e88f71e7b712c8fafda0474069feb2
sha512=9d8c849bad6a9347508fedcc4f7afbfaff138264ab8e9066f2e6090491170964b9415e71028ea084501dd7009a88f18acb4bc913cab1ccd58921cbf16a19edbe
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocaml-version/ocaml-version.3.6.2/opam
Required by