Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: 0.7.6
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (31 sloc) 1.614 kB
(***********************************************************************)
(* *)
(* Copyright 2012 OCamlPro *)
(* Copyright 2012 INRIA *)
(* *)
(* All rights reserved. This file is distributed under the terms of *)
(* the GNU Public License version 3.0. *)
(* *)
(* OPAM is distributed in the hope that it will be useful, *)
(* but WITHOUT ANY WARRANTY; without even the implied warranty of *)
(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *)
(* GNU General Public License for more details. *)
(* *)
(***********************************************************************)
(** Compiler and OPAM versions *)
(** Binary relations *)
type relop = [`Eq|`Geq|`Gt|`Leq|`Lt]
(** OCaml compiler versions *)
module Compiler: sig
include OpamMisc.ABSTRACT
(** Compiler constraint *)
type constr = (relop * t) OpamFormula.formula
(** Return the version of the compiler currently installed *)
val current: unit -> t option
(** Compare OCaml versions *)
val compare: t -> relop -> t -> bool
(** List the compiler available in a directory *)
val list: OpamFilename.Dir.t -> Set.t
end
(** OPAM versions *)
module OPAM: OpamMisc.ABSTRACT
Jump to Line
Something went wrong with that request. Please try again.