package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-4.16-501.tbz
sha256=da5bf309b040645c292ae4572cc6a0a700dbd2bcfc996ac13c8e5c3836c21e26
sha512=99eba17b2bdec5411d239093f4e8e11ada79b2b84ae88074a1b46e47eb836bbf8cb7836c472c22e7f9e68cff1b9ea6d9b9989b70055c3277edb4cddc4a86460c
doc/merlin-lib.utils/Merlin_utils/Marg/index.html
Module Merlin_utils.Marg
Source
Argument parsing library which fold over arguments
Specifications of arguments is split in two passes:
_ table
for parsing global arguments (compiler flags, merlin configuration)- a (string * _ t) for parsing command local arguments
Action associated to a flag updating a state of type 'acc. It takes a list of arguments and either succeeds returning untouched arguments or fails raising an exception.
A table mapping a flag to the corresponding action
Combinators for building actions
Parsing of argument lists
Source
val parse_one :
warning:(string -> unit) ->
'global table ->
'local spec list ->
string list ->
'global ->
'local ->
(string list * 'global * 'local) option
Consume at most one flag from the list, returning updated state or None
in case of failure. Warning function is called with an error message in case of incorrect use.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page