package ocaml-version

  1. Overview
  2. Docs

Values representing official releases of OCaml.

val v3_07_0 : t

Version 3.07

val v3_07_1 : t

Version 3.07+1

val v3_07_2 : t

Version 3.07+2

val v3_07 : t

Latest release in the 3.07 series

val v3_08_0 : t

Version 3.08.0

val v3_08_1 : t

Version 3.08.1

val v3_08_2 : t

Version 3.08.2

val v3_08_3 : t

Version 3.08.3

val v3_08_4 : t

Version 3.08.4

val v3_08 : t

Latest release in the 3.08.x series

val v3_09_0 : t

Version 3.09.0

val v3_09_1 : t

Version 3.09.1

val v3_09_2 : t

Version 3.09.2

val v3_09_3 : t

Version 3.09.3

val v3_09 : t

Latest release in the 3.09.x series

val v3_10_0 : t

Version 3.10.0

val v3_10_1 : t

Version 3.10.1

val v3_10_2 : t

Version 3.10.2

val v3_10 : t

Latest release in the 3.10.x series

val v3_11_0 : t

Version 3.11.0

val v3_11_1 : t

Version 3.11.1

val v3_11_2 : t

Version 3.11.2

val v3_11 : t

Latest release in the 3.11.x series

val v3_12_0 : t

Version 3.12.0

val v3_12_1 : t

Version 3.12.1

val v3_12 : t

Latest release in the 3.12.x series

val v4_00_0 : t

Version 4.00.0

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 v4_07_0 : t

Version 4.07.0

val v4_07_1 : t

Version 4.07.1

val v4_07 : t

Latest release in the 4.07.x series

val v4_08_0 : t

Version 4.08.0

val v4_08_1 : t

Version 4.08.1

val v4_08 : t

Latest release in the 4.08.x series

val v4_09_0 : t

Version 4.09.0

val v4_09_1 : t

Version 4.09.1

val v4_09 : t

Latest release in the 4.09.x series

val v4_10_0 : t

Version 4.10.0

val v4_10_1 : t

Version 4.10.1

val v4_10_2 : t

Version 4.10.2

val v4_10 : t

Latest release in the 4.10.x series

val v4_11_0 : t

Version 4.11.0

val v4_11_1 : t

Version 4.11.1

val v4_11_2 : t

Version 4.11.2

val v4_11 : t

Latest release in the 4.11.x series

val v4_12_0 : t

Version 4.12.0

val v4_12_1 : t

Version 4.12.1

val v4_12 : t

Latest release in the 4.12.x series

val v4_13_0 : t

Version 4.13.0

val v4_13_1 : t

Version 4.13.1

val v4_13 : t

Latest release in the 4.13.x series

val v4_14_0 : t

Version 4.14.0

val v4_14_1 : t

Version 4.14.1

val v4_14_2 : t

Version 4.14.2

val v4_14 : t

Latest release in the 4.14.x series

val v5_0_0 : t

Version 5.0.0

val v5_0 : t

Latest release in the 5.0.x series

val v5_1_0 : t

Version 5.1.0

val v5_1 : t

Latest release in the 5.1.x series

val v5_2_0 : t

Version 5.2.0

val v5_2 : t

Latest release in the 5.2.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 unreleased_betas : t list

Enumerates the latest alpha / beta / release-candidate versions for each unreleased minor OCaml series.

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 are the stable OCaml releases since 4.02, 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 OCaml releases since 4.02 and the latest development branches.

val trunk : t

trunk is the version of the trunk branch in the OCaml repository.

val is_dev : t -> bool

is_dev t will return true if the release t represents a development release instead of a stable archive.

OCaml

Innovation. Community. Security.