From c423dbb5a34c2d1195020e0f0ca3aae883d0749b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 8 Nov 2015 16:56:59 -0800 Subject: Use -XNoImplicitPrelude and 'import Prelude' explicitly. This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503. --- src/Text/Pandoc/Readers/Docx/Fonts.hs | 1 + src/Text/Pandoc/Readers/Docx/Lists.hs | 1 + src/Text/Pandoc/Readers/Docx/Parse.hs | 1 + src/Text/Pandoc/Readers/Docx/Reducible.hs | 1 + src/Text/Pandoc/Readers/Docx/StyleMap.hs | 1 + src/Text/Pandoc/Readers/Docx/Util.hs | 1 + 6 files changed, 6 insertions(+) (limited to 'src/Text/Pandoc/Readers/Docx') diff --git a/src/Text/Pandoc/Readers/Docx/Fonts.hs b/src/Text/Pandoc/Readers/Docx/Fonts.hs index b44c71412..967ca296c 100644 --- a/src/Text/Pandoc/Readers/Docx/Fonts.hs +++ b/src/Text/Pandoc/Readers/Docx/Fonts.hs @@ -29,6 +29,7 @@ Utilities to convert between font codepoints and unicode characters. -} module Text.Pandoc.Readers.Docx.Fonts (getUnicode, Font(..)) where +import Prelude -- | Enumeration of recognised fonts data Font = Symbol -- ^ diff --git a/src/Text/Pandoc/Readers/Docx/Lists.hs b/src/Text/Pandoc/Readers/Docx/Lists.hs index c265ad074..0c9297139 100644 --- a/src/Text/Pandoc/Readers/Docx/Lists.hs +++ b/src/Text/Pandoc/Readers/Docx/Lists.hs @@ -33,6 +33,7 @@ module Text.Pandoc.Readers.Docx.Lists ( blocksToBullets , listParagraphDivs ) where +import Prelude import Text.Pandoc.JSON import Text.Pandoc.Generic (bottomUp) import Text.Pandoc.Shared (trim) diff --git a/src/Text/Pandoc/Readers/Docx/Parse.hs b/src/Text/Pandoc/Readers/Docx/Parse.hs index 432965d49..91eab1339 100644 --- a/src/Text/Pandoc/Readers/Docx/Parse.hs +++ b/src/Text/Pandoc/Readers/Docx/Parse.hs @@ -50,6 +50,7 @@ module Text.Pandoc.Readers.Docx.Parse ( Docx(..) , Cell(..) , archiveToDocx ) where +import Prelude import Codec.Archive.Zip import Text.XML.Light import Data.Maybe diff --git a/src/Text/Pandoc/Readers/Docx/Reducible.hs b/src/Text/Pandoc/Readers/Docx/Reducible.hs index c93b40119..a850141f6 100644 --- a/src/Text/Pandoc/Readers/Docx/Reducible.hs +++ b/src/Text/Pandoc/Readers/Docx/Reducible.hs @@ -7,6 +7,7 @@ module Text.Pandoc.Readers.Docx.Reducible ( concatReduce where +import Prelude import Text.Pandoc.Builder import Data.List import Data.Sequence (ViewR(..), ViewL(..), viewl, viewr) diff --git a/src/Text/Pandoc/Readers/Docx/StyleMap.hs b/src/Text/Pandoc/Readers/Docx/StyleMap.hs index 2901ea2a3..231653106 100644 --- a/src/Text/Pandoc/Readers/Docx/StyleMap.hs +++ b/src/Text/Pandoc/Readers/Docx/StyleMap.hs @@ -5,6 +5,7 @@ module Text.Pandoc.Readers.Docx.StyleMap ( StyleMaps(..) , hasStyleName ) where +import Prelude import Text.XML.Light import Text.Pandoc.Readers.Docx.Util import Control.Monad.State diff --git a/src/Text/Pandoc/Readers/Docx/Util.hs b/src/Text/Pandoc/Readers/Docx/Util.hs index 891f107b0..2790c0d1a 100644 --- a/src/Text/Pandoc/Readers/Docx/Util.hs +++ b/src/Text/Pandoc/Readers/Docx/Util.hs @@ -5,6 +5,7 @@ module Text.Pandoc.Readers.Docx.Util ( , elemToNameSpaces ) where +import Prelude import Text.XML.Light import Data.Maybe (mapMaybe) -- cgit v1.2.3