Skip to content

Commit

Permalink
[doc] Nit on #33
Browse files Browse the repository at this point in the history
The instructions to use `ppx_import` from are generic and not
constrained to `ppx_deriving`
  • Loading branch information
ejgallego committed Mar 17, 2019
1 parent 8bef279 commit e24dc97
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ Usage

In order to use _import_, require the package `ppx_import`.

#### Dune and `ppx_deriving`
#### Using `ppx_import` from Dune

When using `ppx_import` together with [`ppx_deriving`](https://github.com/ocaml-ppx/ppx_deriving) and Dune, you should use [`staged_pps`](https://dune.readthedocs.io/en/latest/dune-files.html#preprocessing-specification) for the preprocessing specification.

Example:
To use `ppx_import` from Dune you should use the [`staged_pps`](https://dune.readthedocs.io/en/latest/dune-files.html#preprocessing-specification) field to declare the preprocessing specification. Example:

```
(library
Expand Down

0 comments on commit e24dc97

Please sign in to comment.