aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-03-18 11:45:25 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-03-18 11:52:40 -0700
commit48f0e73c559505b23c90f59c9258c3b2c3011c6e (patch)
tree748c3c49dfdd4b07aaef0bf82eb93eac226b96dd
parentdaef5530b43d26de9590ac7f7ab4ef261a1c287e (diff)
downloadpandoc-48f0e73c559505b23c90f59c9258c3b2c3011c6e.tar.gz
Added Prelude imports to sources in benchmark and trypandoc.
-rw-r--r--benchmark/benchmark-pandoc.hs2
-rw-r--r--benchmark/weigh-pandoc.hs2
-rw-r--r--trypandoc/trypandoc.hs2
3 files changed, 6 insertions, 0 deletions
diff --git a/benchmark/benchmark-pandoc.hs b/benchmark/benchmark-pandoc.hs
index 489d5c39b..db6c2eb9c 100644
--- a/benchmark/benchmark-pandoc.hs
+++ b/benchmark/benchmark-pandoc.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TupleSections #-}
{-
Copyright (C) 2012-2018 John MacFarlane <jgm@berkeley.edu>
@@ -16,6 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
+import Prelude
import Text.Pandoc
import qualified Text.Pandoc.UTF8 as UTF8
import qualified Data.ByteString as B
diff --git a/benchmark/weigh-pandoc.hs b/benchmark/weigh-pandoc.hs
index d3cada8c0..efc446404 100644
--- a/benchmark/weigh-pandoc.hs
+++ b/benchmark/weigh-pandoc.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE NoImplicitPrelude #-}
+import Prelude
import Weigh
import Text.Pandoc
import Data.Text (Text)
diff --git a/trypandoc/trypandoc.hs b/trypandoc/trypandoc.hs
index 5a4828877..a4c21e1f6 100644
--- a/trypandoc/trypandoc.hs
+++ b/trypandoc/trypandoc.hs
@@ -1,5 +1,7 @@
+{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module Main where
+import Prelude
import Network.Wai.Handler.CGI
import Network.Wai
import Control.Applicative ((<$>))