opam-format
OpamVariable
OPAM variables with scope (global or module), used in "opam" package definition files in "filters"
include OpamStd.ABSTRACT
type t
val compare : t -> t -> int
val equal : t -> t -> bool
val of_string : string -> t
val to_string : t -> string
val to_json : t OpamJson.encoder
val of_json : t OpamJson.decoder
module Set : OpamStd.SET with type elt = t
module Map : OpamStd.MAP with type key = t
type variable = t
Shortcut to variables
type variable_contents =
| B of bool
| S of string
| L of string list
Variable contents
val variable_contents_equal : variable_contents -> variable_contents -> bool
val string_of_variable_contents : variable_contents -> string
Pretty print of variable contents
Variable contents constructors
val string : string -> variable_contents
val int : int -> variable_contents
val bool : bool -> variable_contents
val dirname : OpamFilename.Dir.t -> variable_contents
module Full : sig ... end
Fully qualified variable.