path: root/
diff options
authorJohn MacFarlane <>2015-07-15 12:13:51 -0700
committerJohn MacFarlane <>2015-07-15 12:13:51 -0700
commite944c036cf8368af536b9fccc708e4d91b2c4f01 (patch)
treef26b6cdb72ecdda3d5ed5d88b89c0fdb89f58b30 /
parent605e15a71d4551ca48b70be311cc21d80d4bea2e (diff)
Added section on REPL to
Diffstat (limited to '')
1 files changed, 14 insertions, 0 deletions
diff --git a/ b/
index 7e1e575a8..7b321f868 100644
--- a/
+++ b/
@@ -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