git.iko.soy/typeable/pandoc
on master help sign in
Added section on REPL to CONTRIBUTING.md.
commite944c036cf8368af536b9fccc708e4d91b2c4f01 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 15 Jul 2015, 12:13 (11 years ago) parent605e15a
1 file changed+14
CONTRIBUTING.md+14
CONTRIBUTING.md+14
@@ -120,6 +120,20 @@ The test program is `tests/test-pandoc.hs`.
120120Benchmarks can be enabled by passing the `--enable-benchmarks` flag
121121to `cabal configure`, and run using `cabal bench`.
122122
123+Using the REPL
124+--------------
125+
126+With a recent version of cabal, you can do `cabal repl` and get
127+a ghci REPL for working with pandoc. We recommend using the following
128+`.ghci` file (which can be placed in the source directory):
129+
130+```
131+:set -fobject-code
132+:set -XTypeSynonymInstances
133+:set -XScopedTypeVariables
134+:set -XOverloadedStrings
135+```
136+
123137The code
124138--------
125139