package merlin-lib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Merlin's libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
merlin-5.7.1-504.tbz
sha256=139b073cf914b38b725c54f75b8b642f654c3498d0a4ba8cfa831ff02a8970d5
sha512=9391d3a0aaa5065a02c6f5faaf7149f8f800c748d9be5ccff6af800ce73bdf418ead72dbeaf6ee7a6cbeae2c8e56285fbe422740ed407bcc4edab889dd1c8f9c
doc/merlin-lib.utils/Merlin_utils/Marg/index.html
Module Merlin_utils.MargSource
Argument parsing library which fold over arguments
Specifications of arguments is split in two passes:
_ tablefor 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) optionConsume 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