Functor instance to fix ghc 7.8 warning.

This commit is contained in:
John MacFarlane 2017-11-11 21:13:43 -08:00
parent 06ab7230bc
commit 6094c84b7a

View file

@ -103,7 +103,7 @@ walkMWithLuaFilter :: LuaFilter -> Pandoc -> Lua Pandoc
walkMWithLuaFilter f =
walkInlines f >=> walkBlocks f >=> walkMeta f >=> walkPandoc f
mconcatMapM :: Monad m => (a -> m [a]) -> [a] -> m [a]
mconcatMapM :: (Monad m, Functor m) => (a -> m [a]) -> [a] -> m [a]
mconcatMapM f = fmap mconcat . mapM f
hasOneOf :: LuaFilter -> [String] -> Bool