Module Dune_project.Dune_lang_version

The format of the syntax used in a project to express dune stanzas.

This is specified in the dune-project file, as the first stanza. For example:

  (lang dune 3.20)
type t

Representing the two integers that are separated by the dot. For example, the representation of "3.20" is (3, 20).

val equal : t -> t -> bool
val compare : t -> t -> int
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
val create : (int * int) -> t
val to_string : t -> string

Returns the string that can be used as atom in the dune-project configuration file.

module Predicate : sig ... end