opam-format

Format library for opam 2.1
IN THIS PACKAGE
Module OpamVariable

Variable names

include OpamStd.ABSTRACT
type t
val of_string : string -> t
val to_string : t -> string
val to_json : t -> OpamJson.t
val of_json : OpamJson.t -> t option
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 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
module Full : sig ... end

Fully qualified variable.