git.iko.soy/typeable/pandoc
on master help sign in
Added Functor constraint to keep ghc 7.8.4 happy.
172320aJohn MacFarlane
src/Text/Pandoc/App.hs+1−1
@@ -337,7 +337,7 @@ convertWithOpts opts = do
337 then 0
337 then 0
338 else optTabStop opts)
338 else optTabStop opts)
339
339
340− readSources :: MonadIO m => [FilePath] -> m String
340+ readSources :: (Functor m, MonadIO m) => [FilePath] -> m String
341 readSources srcs = convertTabs . intercalate "\n" <$>
341 readSources srcs = convertTabs . intercalate "\n" <$>
342 mapM readSource srcs
342 mapM readSource srcs
343
343