diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-07-15 12:13:51 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-07-15 12:13:51 -0700 |
commit | e944c036cf8368af536b9fccc708e4d91b2c4f01 (patch) | |
tree | f26b6cdb72ecdda3d5ed5d88b89c0fdb89f58b30 | |
parent | 605e15a71d4551ca48b70be311cc21d80d4bea2e (diff) | |
download | pandoc-e944c036cf8368af536b9fccc708e4d91b2c4f01.tar.gz |
Added section on REPL to CONTRIBUTING.md.
-rw-r--r-- | CONTRIBUTING.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7e1e575a8..7b321f868 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -120,6 +120,20 @@ The test program is `tests/test-pandoc.hs`. Benchmarks can be enabled by passing the `--enable-benchmarks` flag to `cabal configure`, and run using `cabal bench`. +Using the REPL +-------------- + +With a recent version of cabal, you can do `cabal repl` and get +a ghci REPL for working with pandoc. We recommend using the following +`.ghci` file (which can be placed in the source directory): + +``` +:set -fobject-code +:set -XTypeSynonymInstances +:set -XScopedTypeVariables +:set -XOverloadedStrings +``` + The code -------- |