diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-11-08 16:56:59 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-11-08 16:56:59 -0800 |
commit | c423dbb5a34c2d1195020e0f0ca3aae883d0749b (patch) | |
tree | a118d6561e1886fe019f51599c5c1258606eadd4 /src/Text/Pandoc/ImageSize.hs | |
parent | da056191182777c4e4e951d3aae49c6428677fc7 (diff) |
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.
Diffstat (limited to 'src/Text/Pandoc/ImageSize.hs')
-rw-r--r-- | src/Text/Pandoc/ImageSize.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/ImageSize.hs b/src/Text/Pandoc/ImageSize.hs index a38a9dcd1..5b4593a4c 100644 --- a/src/Text/Pandoc/ImageSize.hs +++ b/src/Text/Pandoc/ImageSize.hs @@ -31,6 +31,7 @@ Functions for determining the size of a PNG, JPEG, or GIF image. -} module Text.Pandoc.ImageSize ( ImageType(..), imageType, imageSize, sizeInPixels, sizeInPoints ) where +import Prelude import Data.ByteString (ByteString, unpack) import qualified Data.ByteString.Char8 as B import qualified Data.ByteString.Lazy as BL |