package metaquot
OCaml syntax extension for quoting code
Install
Dune Dependency
Authors
Maintainers
Sources
metaquot.0.5.2.tar.gz
sha512=e6401a7fe02bd0c3ecd5ca018568f27e9187de68d644b36eac2da7bf08226904f4de52cf76584d14f0df18a4be25a0b6cb3ca9da193536d51d7d465ce9e591c5
doc/src/metaquot_ppx/metaquot_ppx.ml.html
Source file metaquot_ppx.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
let mapper = object (self) inherit Ppxlib.Ast_traverse.map as super method! expression exp = Gc.minor (); (* This seems to solve a segfault in OCaml 5.0 but this is weird!*) Metaquot.Exp.lift { expression = super#expression; pattern = super#pattern } exp method! pattern = Metaquot.Pat.lift { expression = super#expression; pattern = super#pattern } end let () = Ppxlib.Driver.register_transformation "metaquot" ~impl:mapper#structure
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>