Skip to content

NathanReb/ppx_there

Repository files navigation

ppx_there

OCaml PPX extension for on-steroid __MODULE__.

Build Status

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

About

OCaml PPX extension for on-steroid __MODULE__

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages