package ocaml-version

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Values representing official releases of OCaml.

val v4_00_1 : t

Version 4.00.1

val v4_00 : t

Latest release in the 4.00.x series

val v4_01_0 : t

Version 4.01.0

val v4_01 : t

Latest release in the 4.01.x series

val v4_02_0 : t

Version 4.02.0

val v4_02_1 : t

Version 4.02.1

val v4_02_2 : t

Version 4.02.2

val v4_02_3 : t

Version 4.02.3

val v4_02 : t

Latest release in the 4.02.x series

val v4_03_0 : t

Version 4.03.0

val v4_03 : t

Latest release in the 4.03.x series

val v4_04_0 : t

Version 4.04.0

val v4_04_1 : t

Version 4.04.1

val v4_04_2 : t

Version 4.04.2

val v4_04 : t

Latest release in the 4.04.x series

val v4_05_0 : t

Version 4.05.0

val v4_05 : t

Latest release in the 4.05.x series

val v4_06_0 : t

Version 4.06.0

val v4_06_1 : t

Version 4.06.1

val v4_06 : t

Latest release in the 4.06.x series

val all_patches : t list

all_patches is an enumeration of all OCaml releases, including every patch release. To get the major and minor releases with the latest patch version, use all instead.

val all : t list

all is an enumeration of all the OCaml releases, with the latest patch versions in each major and minor release.

val dev : t list

Enumeration of the latest development OCaml releases. This is usually just one, but may include two active dev versions if a release branch has just been cut.

val latest : t

latest is the most recent stable release of OCaml.

val recent : t list

recent is the last five releases of OCaml, with each at the latest patch level. This is the set that is most reliably tested in the opam package repository.

val recent_with_dev : t list

recent_with_dev are the last four stable releases of OCaml and the latest development branches.