OCaml PPX extension for on-steroid __MODULE__
.
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