aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Templates.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-11-08 16:56:59 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-11-08 16:56:59 -0800
commitc423dbb5a34c2d1195020e0f0ca3aae883d0749b (patch)
treea118d6561e1886fe019f51599c5c1258606eadd4 /src/Text/Pandoc/Templates.hs
parentda056191182777c4e4e951d3aae49c6428677fc7 (diff)
downloadpandoc-c423dbb5a34c2d1195020e0f0ca3aae883d0749b.tar.gz
Use -XNoImplicitPrelude and 'import Prelude' explicitly.
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
Diffstat (limited to 'src/Text/Pandoc/Templates.hs')
-rw-r--r--src/Text/Pandoc/Templates.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Templates.hs b/src/Text/Pandoc/Templates.hs
index f366299d5..027996703 100644
--- a/src/Text/Pandoc/Templates.hs
+++ b/src/Text/Pandoc/Templates.hs
@@ -93,6 +93,7 @@ module Text.Pandoc.Templates ( renderTemplate
, Template
, getDefaultTemplate ) where
+import Prelude
import Data.Char (isAlphaNum)
import Control.Monad (guard, when)
import Data.Aeson (ToJSON(..), Value(..))