package opam-format

  1. Overview
  2. Docs

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 of_string : string -> t
Sourceval to_string : t -> string
Sourceval to_json : t -> OpamJson.t
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.

OCaml

Innovation. Community. Security.