package opam-format

  1. Overview
  2. Docs
On This Page
  1. Variable names

Module OpamVariableSource

OPAM variables with scope (global or module), used in "opam" package definition files in "filters"

Variable names

include OpamStd.ABSTRACT
Sourcetype t
Sourceval compare : t -> t -> int
Sourceval equal : t -> t -> bool
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourcemodule Set : OpamStd.SET with type elt = t
Sourcemodule Map : OpamStd.MAP with type key = t
Sourcetype variable = t

Shortcut to variables

Sourcetype variable_contents =
  1. | B of bool
  2. | S of string
  3. | L of string list

Variable contents

Sourceval string_of_variable_contents : variable_contents -> string

Pretty print of variable contents

Variable contents constructors

Sourceval string : string -> variable_contents
Sourceval int : int -> variable_contents
Sourceval bool : bool -> variable_contents
Sourcemodule Full : sig ... end

Fully qualified variable.