OCaml PPX extension for on-steroid __MODULE__
- OCaml 95.6%
- Dune 4.4%
| rewriter | ||
| test/rewriter | ||
| .gitignore | ||
| .travis.yml | ||
| CHANGES.md | ||
| dune-project | ||
| LICENSE.md | ||
| ppx_there.opam | ||
| README.md | ||
ppx_there
OCaml PPX extension for on-steroid __MODULE__.
Overview
ppx_there turns the [%there] extension points into the fully qualified path of the value in
which they are found, as a string.
For example, the following code in a a.ml file:
module B = struct
let c = [%there]
end
Is expanded into:
module B = struct
let c = "A.B.c"
end