package ppx_repr
PPX deriver for type representations
Install
Dune Dependency
Authors
Maintainers
Sources
repr-fuzz-0.4.0.tbz
sha256=1791765a495981cc69c0d591ef06831ca158d85192c6631b4838b3ee997dfcce
sha512=09fac16a9d4df87bf68b275b032407ddd281beadd2881f848fc2e58d5205538b2a9c3ad6743de268ce70838defcc72de49c1f7e3b02ac590f2ff187fcf0abfab
doc/ppx_repr.lib/Ppx_repr_lib/Engine/Located/index.html
Module Engine.Located
Source
Parameters
module Attributes : Attributes.S
module A : 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 :
?name:string ->
?lib:string ->
(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 :
?name:string ->
?lib:string ->
(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