package ppx_repr
PPX deriver for type representations
Install
Dune Dependency
Authors
Maintainers
Sources
repr-fuzz-0.2.0.tbz
sha256=36db1188217a8b0ad3c5c745f120ac1a46ff1767a6440988bd7280e68e751850
sha512=c7399f64b8bdc5b0aad63b66feb6142096b9b72bc27aee94d8896d780271d0dadbf242f09b1a92cc2b1a4f29e2ca5db08f77d1ebeb0ee5761c61a031a3ca3657
doc/ppx_repr.lib/Ppx_repr_lib/Engine/Located/index.html
Module Engine.Located
Parameters
module Attributes : Attributes.S
module A : Ppxlib.Ast_builder.S
Signature
val parse_lib : Ppxlib.expression -> string option
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.
val expand_typ : ?lib:string -> Ppxlib.core_type -> Ppxlib.expression
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.
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