package ppx_repr
PPX deriver for type representations
Install
Dune Dependency
Authors
Maintainers
Sources
repr-fuzz-0.1.0.tbz
sha256=90225eeb444ad52be83cebb8d80196a9ba2cc5f3da066390c17dadd361db7339
sha512=15396ed0599acad3be7319574d0492ed8dd4aa2b9669acfc20b3acf98a186cfceabdd186ef88bd994f409fcb885bfbb2d086330092777a7da93f282e4a02b159
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