summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-20 16:34:33 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-20 16:34:33 +0100
commit172320ac660c85409db31dbef0ec9c5340f6a003 (patch)
tree3b3f8689245dcd8114ed2600d84fcfc91816dc00 /src
parent547c32939b1dc6553c2cfb2d9893c2a536a77fb7 (diff)
Added Functor constraint to keep ghc 7.8.4 happy.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/App.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs
index a4f48e336..be8f26811 100644
--- a/src/Text/Pandoc/App.hs
+++ b/src/Text/Pandoc/App.hs
@@ -337,7 +337,7 @@ convertWithOpts opts = do
then 0
else optTabStop opts)
- readSources :: MonadIO m => [FilePath] -> m String
+ readSources :: (Functor m, MonadIO m) => [FilePath] -> m String
readSources srcs = convertTabs . intercalate "\n" <$>
mapM readSource srcs