Added Functor constraint to keep ghc 7.8.4 happy.

This commit is contained in:
John MacFarlane 2017-02-20 16:34:33 +01:00
parent 547c32939b
commit 172320ac66

View file

@ -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