git.iko.soy/typeable/pandoc
on master help sign in
Functor instance to fix ghc 7.8 warning.
commit6094c84b7ae0e00d51c16e7e283ad2e589091bee authorJohn MacFarlane <jgm@berkeley.edu> dateSat 11 Nov 2017, 21:13 (9 years ago) parent06ab723
1 file changed+1−1
src/Text/Pandoc/Lua/Filter.hs+1−1
src/Text/Pandoc/Lua/Filter.hs+1−1
@@ -103,7 +103,7 @@ walkMWithLuaFilter :: LuaFilter -> Pandoc -> Lua Pandoc
103103walkMWithLuaFilter f =
104104 walkInlines f >=> walkBlocks f >=> walkMeta f >=> walkPandoc f
105105
106−mconcatMapM :: Monad m => (a -> m [a]) -> [a] -> m [a]
106+mconcatMapM :: (Monad m, Functor m) => (a -> m [a]) -> [a] -> m [a]
107107mconcatMapM f = fmap mconcat . mapM f
108108
109109hasOneOf :: LuaFilter -> [String] -> Bool