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).

include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
include Ppx_compare_lib.Equal.S with type t := t
val equal : t Base__Ppx_compare_lib.equal
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 : (Base.int * Base.int) -> t
val to_string : t -> Base.string

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

module Predicate : sig ... end