ppx_there is a ppx rewriter that turns [%there] extension points into a string representing the fully qualified path to the value in which it's defined.
Published: 26 Apr 2019
OCaml PPX extension for on-steroid
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
module B = struct let c = [%there] end
Is expanded into:
module B = struct let c = "A.B.c" end