aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-08-31 11:17:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-08-31 11:17:53 -0700
commit611bc278622e55b4d45ef0e5a37f9be0c82621c6 (patch)
treed342108e5df32426199375d214bc75c157a7927d /src/Text
parent44559055506461d2c675f978182aa20ee689433e (diff)
downloadpandoc-611bc278622e55b4d45ef0e5a37f9be0c82621c6.tar.gz
Shared: Moved import of toChunks outside of conditional.
Closes #1590.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Shared.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index 54d252d43..2d7c08718 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -126,6 +126,7 @@ import Text.Pandoc.Compat.Monoid
import Data.ByteString.Base64 (decodeLenient)
import Data.Sequence (ViewR(..), ViewL(..), viewl, viewr)
import qualified Data.Text as T (toUpper, pack, unpack)
+import Data.ByteString.Lazy (toChunks)
#ifdef EMBED_DATA_FILES
import Text.Pandoc.Data (dataFiles)
@@ -133,7 +134,6 @@ import Text.Pandoc.Data (dataFiles)
import Paths_pandoc (getDataFileName)
#endif
#ifdef HTTP_CLIENT
-import Data.ByteString.Lazy (toChunks)
import Network.HTTP.Client (httpLbs, parseUrl, withManager,
responseBody, responseHeaders,
Request(port,host))