Fixed type sig for older GHC versions.

This commit is contained in:
John MacFarlane 2017-02-25 23:56:32 +01:00
parent 65c4efeb59
commit 5a47f3422a

View file

@ -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)