aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-25 23:56:32 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-25 23:56:32 +0100
commit5a47f3422a9be92d9eec629032ac7af1416dea47 (patch)
tree3269f418ee22254a1c8b50301483f47204685e90 /src/Text/Pandoc/Writers
parent65c4efeb5924613d7805ec17f9cc4e03fde00531 (diff)
downloadpandoc-5a47f3422a9be92d9eec629032ac7af1416dea47.tar.gz
Fixed type sig for older GHC versions.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/Shared.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Shared.hs b/src/Text/Pandoc/Writers/Shared.hs
index 991ce5437..3ff7d47b2 100644
--- a/src/Text/Pandoc/Writers/Shared.hs
+++ b/src/Text/Pandoc/Writers/Shared.hs
@@ -60,7 +60,7 @@ import Data.Maybe ( isJust )
-- Variables overwrite metadata fields with the same names.
-- If multiple variables are set with the same name, a list is
-- assigned. Does nothing if 'writerTemplate' is Nothing.
-metaToJSON :: Monad m
+metaToJSON :: (Functor m, Monad m)
=> WriterOptions
-> ([Block] -> m String)
-> ([Inline] -> m String)