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.1.tar.gz
md5=1e55c234fa09e678e8115a31f3ec2a05
sha512=d71c362d70a6b6cb9fe54cc43bfbea8079cca05d4721a7dda951196f543a1ff5af81399a246e0cd68bc590c7bdca388d96c7127217ed637261957047ce725516
doc/opam-format/OpamFormat/index.html
Module OpamFormat
Source
OPAM files syntax and conversion tools
Get the position out of a value
low-level Pps for the Lines parser (string list list
)
Source
val lines_set :
empty:'set ->
add:('elt -> 'set -> 'set) ->
fold:(('elt -> lines -> lines) -> 'set -> lines -> lines) ->
(string list, 'elt) OpamPp.t ->
(lines, 'set) OpamPp.t
Provided an empty element, addition and fold operations with signatures as per Set.S, and a pp from lines to elements, returns a pp parsing from lines
Source
val lines_map :
empty:'map ->
add:('k -> 'v -> 'map -> 'map) ->
fold:(('k -> 'v -> lines -> lines) -> 'map -> lines -> lines) ->
(string list, 'k * 'v) OpamPp.t ->
(lines, 'map) OpamPp.t
Provided an empty element, addition and fold operations with signatures as per Map.S, and a pp from lines to key, value pairs, returns a pp parsing from lines
Pps for the type value
, used by opam-syntax files (opamfile
)
These base converters raise Unexpected
when not run on the right input (which is then converted to Bad_format
by the parser.
Specific Pps for items lists and fields (opamfile)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page