aboutsummaryrefslogtreecommitdiff
path: root/benchmark
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 /benchmark
parentdaef5530b43d26de9590ac7f7ab4ef261a1c287e (diff)
downloadpandoc-48f0e73c559505b23c90f59c9258c3b2c3011c6e.tar.gz
Added Prelude imports to sources in benchmark and trypandoc.
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/benchmark-pandoc.hs2
-rw-r--r--benchmark/weigh-pandoc.hs2
2 files changed, 4 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)