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.4.tar.gz
md5=ec8e3478f04494a9aeb838fe1042c71f
sha512=bb00c35aa0f7541d05749f62718a20c474d97ea29ec51ec30df12d2ae71cc0974234d36e509d24895576e0c1ef03390536619d94269488c07895e649bfa6f9af
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)"
>