package opam-format
Format library for opam 2.0
Install
Dune Dependency
Authors
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.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
2.0.8.tar.gz
md5=0b798434a6275212ec58922068cde186
sha512=14737dc994be2c54dfeaf2658d3713178033e1bc2b4b845a58b4bfc118bbbf12b502924add0ae32b4b2b6c1944462e5ee7143df3de362d9ee39573249d013bc9
doc/opam-format/OpamTypesBase/index.html
Module OpamTypesBase
Source
Helper functions on the base types (from OpamTypes
)
Extract a package from a package action.
Source
val map_atomic_action :
('a -> 'b) ->
'a OpamTypes.atomic_action ->
'b OpamTypes.atomic_action
Source
val map_highlevel_action :
('a -> 'b) ->
'a OpamTypes.highlevel_action ->
'b OpamTypes.highlevel_action
Source
val map_concrete_action :
('a -> 'b) ->
'a OpamTypes.concrete_action ->
'b OpamTypes.concrete_action
Extract a packages from a package action. This returns all concerned packages, including the old version for an up/down-grade.
Pretty-prints the cause of an action
Pretty-print
The empty file position
pos_best pos1 pos2
returns the most detailed position between pos1
and pos2
(defaulting to pos1
)
Position in the given file, with unspecified line and column
Prints a file position
Makes sure to keep only the last binding for a given variable; doesn't preserve order
Source
val filter_ident_of_string :
string ->
OpamTypes.name option list * OpamTypes.variable * (string * string) option
Parses the data suitable for a filter.FIdent from a string. May raise Failure msg
on bad package names. A self-reference _
parses to None
Source
val string_of_filter_ident :
(OpamTypes.name option list * OpamTypes.variable * (string * string) option) ->
string
Map on a solver result
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>