git.iko.soy/typeable/pandoc
on master help sign in
Added Functor constraint to keep ghc 7.8.4 happy.
commit172320ac660c85409db31dbef0ec9c5340f6a003 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 20 Feb 2017, 16:34 (10 years ago) parent547c329
1 file changed+1−1
src/Text/Pandoc/App.hs+1−1
src/Text/Pandoc/App.hs+1−1
@@ -337,7 +337,7 @@ convertWithOpts opts = do
337337 then 0
338338 else optTabStop opts)
339339
340− readSources :: MonadIO m => [FilePath] -> m String
340+ readSources :: (Functor m, MonadIO m) => [FilePath] -> m String
341341 readSources srcs = convertTabs . intercalate "\n" <$>
342342 mapM readSource srcs
343343