package ppx_repr
PPX deriver for type representations
Install
Dune Dependency
Authors
Maintainers
Sources
repr-fuzz-0.5.0.tbz
sha256=2ed0e1dab950eeb551cbecc3bbc5ddb584b3b3e4b4e039ff3abf7bd6d5b238f9
sha512=bacfef83e5bd2b12a7ccd514ba92525030cdcf85ba1121e9456db7f327c434db599a47667ca9826ab77ed95e0f946347e027bc6c18420c6a8faabf4a491a2a7a
doc/ppx_repr.lib/Ppx_repr_lib/Engine/Located/index.html
Module Engine.Located
Source
Parameters
module _ : sig ... end
module _ : Ppxlib.Ast_builder.S
Signature
parse_lib e
is Some "foo"
or None
if e
is a string option
, and raises a located exception otherwise. Intended to be used for parsing the lib
argument to the derivers.
Source
val derive_str :
plugins:Meta_deriving.Plugin.t list ->
name:string option ->
lib:string option ->
(Ppxlib.rec_flag * Ppxlib.type_declaration list) ->
Ppxlib.structure_item list
Deriver for Irmin type representations.
?name
: overrides the default name of the generated type representation;
?lib
: overrides the default location for the primitive Irmin typereps.~lib:None
will assume that the typereps are available in the same namespace.
Source
val derive_sig :
plugins:Meta_deriving.Plugin.t list ->
name:string option ->
lib:string option ->
(Ppxlib.rec_flag * Ppxlib.type_declaration list) ->
Ppxlib.signature_item list
Deriver for Irmin type representation signatures.
Optional arguments have the same meaning as in derive_str
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page