From 48f0e73c559505b23c90f59c9258c3b2c3011c6e Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sun, 18 Mar 2018 11:45:25 -0700
Subject: [PATCH] Added Prelude imports to sources in benchmark and trypandoc.

---
 benchmark/benchmark-pandoc.hs | 2 ++
 benchmark/weigh-pandoc.hs     | 2 ++
 trypandoc/trypandoc.hs        | 2 ++
 3 files changed, 6 insertions(+)

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 ((<$>))