From e944c036cf8368af536b9fccc708e4d91b2c4f01 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Wed, 15 Jul 2015 12:13:51 -0700
Subject: [PATCH] Added section on REPL to CONTRIBUTING.md.

---
 CONTRIBUTING.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

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
 --------