Fixed type sig for older GHC versions.
commit5a47f3422a9be92d9eec629032ac7af1416dea47
authorJohn MacFarlane <jgm@berkeley.edu>
dateSat 25 Feb 2017, 23:56 (10 years ago)
parent65c4efe
src/Text/Pandoc/Writers/Shared.hs+1−1
@@ -60,7 +60,7 @@ import Data.Maybe ( isJust )
6060-- Variables overwrite metadata fields with the same names.
6161-- If multiple variables are set with the same name, a list is
6262-- assigned. Does nothing if 'writerTemplate' is Nothing.
63−metaToJSON :: Monad m
63+metaToJSON :: (Functor m, Monad m)
6464 => WriterOptions
6565 -> ([Block] -> m String)
6666 -> ([Inline] -> m String)