package opam-lib

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

OCaml compiler versions

include OpamMisc.ABSTRACT
type t

ABSTRACT type

val of_string : string -> t

Create an abstract value from a string

val to_string : t -> string

Convert an abstract value to a string

val to_json : t -> OpamJson.t

Convert an abstract value to a JSON object

module Set : OpamMisc.SET with type elt = t
module Map : OpamMisc.MAP with type key = t

Compiler constraint

val compare : t -> t -> int

Compare OCaml versions

val eval_relop : OpamFormula.relop -> t -> t -> bool

Evaluate a relational operator between OCaml versions

OCaml

Innovation. Community. Security.