package ppx_repr
PPX deriver for type representations
Install
Dune Dependency
Authors
Maintainers
Sources
repr-fuzz-0.6.0.tbz
sha256=bb8a0f94df002fc19dcb598834271eaddeffa1d57041491ff3d2b9e3e80d075e
sha512=2218845ba1b42e3983bc9727879c704433571655c85251c43edb9bf85ceec35c3b662091e32a744a5340a9c641b1cb5fa591389a68832faf0bb71981d6d91e1d
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