diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-25 23:56:32 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-25 23:56:32 +0100 |
commit | 5a47f3422a9be92d9eec629032ac7af1416dea47 (patch) | |
tree | 3269f418ee22254a1c8b50301483f47204685e90 /src/Text/Pandoc/Writers | |
parent | 65c4efeb5924613d7805ec17f9cc4e03fde00531 (diff) | |
download | pandoc-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.hs | 2 |
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) |