From 5a47f3422a9be92d9eec629032ac7af1416dea47 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 25 Feb 2017 23:56:32 +0100 Subject: Fixed type sig for older GHC versions. --- src/Text/Pandoc/Writers/Shared.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Writers') 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) -- cgit v1.2.3