diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-03-18 10:46:28 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-03-18 10:46:28 -0700 |
commit | 7e389cb3dbdc11126b9bdb6a7741a65e5a94a43e (patch) | |
tree | 0e3ca00745cc0248d803c31e748889fcd02460fa /src/Text/Pandoc/Writers/EPUB.hs | |
parent | daf731a001ee75ba3e09c8337278fe167ec347ae (diff) | |
download | pandoc-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 'src/Text/Pandoc/Writers/EPUB.hs')
-rw-r--r-- | src/Text/Pandoc/Writers/EPUB.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/EPUB.hs b/src/Text/Pandoc/Writers/EPUB.hs index cf50e9bb9..1dab2e627 100644 --- a/src/Text/Pandoc/Writers/EPUB.hs +++ b/src/Text/Pandoc/Writers/EPUB.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE CPP #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE PatternGuards #-} @@ -32,6 +33,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Conversion of 'Pandoc' documents to EPUB. -} module Text.Pandoc.Writers.EPUB ( writeEPUB2, writeEPUB3 ) where +import Prelude import Codec.Archive.Zip (Entry, addEntryToArchive, eRelativePath, emptyArchive, fromArchive, fromEntry, toEntry) import Control.Monad (mplus, unless, when, zipWithM) |