From 172320ac660c85409db31dbef0ec9c5340f6a003 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Mon, 20 Feb 2017 16:34:33 +0100
Subject: [PATCH] Added Functor constraint to keep ghc 7.8.4 happy.

---
 src/Text/Pandoc/App.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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