aboutsummaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-03-18 10:46:28 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-03-18 10:46:28 -0700
commit7e389cb3dbdc11126b9bdb6a7741a65e5a94a43e (patch)
tree0e3ca00745cc0248d803c31e748889fcd02460fa /pandoc.hs
parentdaf731a001ee75ba3e09c8337278fe167ec347ae (diff)
downloadpandoc-7e389cb3dbdc11126b9bdb6a7741a65e5a94a43e.tar.gz
Use NoImplicitPrelude and explicitly import Prelude.
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
Diffstat (limited to 'pandoc.hs')
-rw-r--r--pandoc.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/pandoc.hs b/pandoc.hs
index 780e41ce1..7e7749aa5 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE NoImplicitPrelude #-}
{-
Copyright (C) 2006-2018 John MacFarlane <jgm@berkeley.edu>
@@ -29,6 +30,7 @@ Parses command-line options and calls the appropriate readers and
writers.
-}
module Main where
+import Prelude
import qualified Control.Exception as E
import Text.Pandoc.App (convertWithOpts, defaultOpts, options, parseOptions)
import Text.Pandoc.Error (handleError)