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.3.tar.gz
md5=e84acfd52f578505c16dc9d21c99d17c
sha512=a0db42f67a41d9ee5f4015a153fa9133ca6a33201f7db6b8b5562bccdda45f8af5032dc9c863bd3eaeef74ba4a3e4a099556faa3d01e66b6e5cf8ebdd52244fe
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