diff options
author | Pete Ryland <pdr@pdr.cx> | 2019-07-02 10:29:34 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-07-02 10:29:34 +0200 |
commit | 24c781039fb280604eb1a73dd7de154db9e1e236 (patch) | |
tree | 4159323a476918f8eafca3048fadfcfe789d498f /src/Text/Pandoc/Lua/Module | |
parent | b6c53553a929a8623ce56af961d28d5dcc4750d5 (diff) | |
download | pandoc-24c781039fb280604eb1a73dd7de154db9e1e236.tar.gz |
Fix redundant constraint warnings. (#5625)
Diffstat (limited to 'src/Text/Pandoc/Lua/Module')
-rw-r--r-- | src/Text/Pandoc/Lua/Module/Pandoc.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Lua/Module/Pandoc.hs b/src/Text/Pandoc/Lua/Module/Pandoc.hs index 8f7653550..09892db49 100644 --- a/src/Text/Pandoc/Lua/Module/Pandoc.hs +++ b/src/Text/Pandoc/Lua/Module/Pandoc.hs @@ -46,7 +46,7 @@ pushModule datadir = do LuaUtil.addFunction "walk_inline" walkInline return 1 -walkElement :: (Pushable a, Walkable [Inline] a, Walkable [Block] a) +walkElement :: (Walkable [Inline] a, Walkable [Block] a) => a -> LuaFilter -> Lua a walkElement x f = walkInlines f x >>= walkBlocks f |