package opam-format
Install
dune-project
Dependency
Authors
-
David Allsopp
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.com>
-
KKate Deplaix <kit-ty-kate@outlook.com>
-
RRoberto Di Cosmo <roberto@dicosmo.org>
-
TThomas Gazagnaire <thomas@gazagnaire.org>
-
LLouis Gesbert <louis.gesbert@ocamlpro.com>
-
FFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
-
AAnil Madhavapeddy <anil@recoil.org>
-
GGuillem Rieu <guillem.rieu@ocamlpro.com>
-
RRalf Treinen <ralf.treinen@pps.jussieu.fr>
-
FFrederic Tuong <tuong@users.gforge.inria.fr>
Maintainers
Sources
md5=708dfb9799ebb5b9fccbdac63d0bf1e8
sha512=0b15627c4a31d3abcdbb5885bf2e7f4dee9ffddad2144855d1e1e18d66edc379e3a2b0a378097c35897e571f856b61aadabb47672d75401f6f6231f33ae475c8
doc/opam-format/OpamFormatConfig/index.html
Module OpamFormatConfigSource
Configuration options for the format lib (record, global reference and setter)
type t = private {strict : bool;(*Fail early with errors in OPAM files
*)skip_version_checks : bool;(*Ignore mismatching OPAM versions in files
*)all_parens : bool;(*Affects the OPAM format printer; for backwards-compatibility
*)
}include OpamStd.Config.Sig
with type t := t
and type 'a options_fun := 'a options_fun
Use to update any option in a t, using the optional arguments of options_fun. E.g. set opts ?option1:1 ?option4:"x" ()
Same as set, but passes the result to a continuation, allowing argument stacking
The global reference containing the currently set library options. Access using OpamXxxConfig.(!r.field).
Updates the currently set options in r according to the optional arguments
Sets the options, reading the environment to get default values when unspecified
Sets the options like init, but returns the given value (for arguments stacking)