package ppx_there

  1. Overview
  2. Docs
On This Page
  1. Overview
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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
OCaml

Innovation. Community. Security.