Refined constraint for HasQuoteContext instance.
in hopes that this will help the ghc 7.8.4 build...
commit3c427fc17d53a564305aadde015dd2f048d9ff71
authorJohn MacFarlane <jgm@berkeley.edu>
dateMon 20 Feb 2017, 15:25 (10 years ago)
parent3ccf3fa
src/Text/Pandoc/Parsing.hs+1−1
@@ -960,7 +960,7 @@ class HasQuoteContext st m where
960960 getQuoteContext :: (Stream s m t) => ParsecT s st m QuoteContext
961961 withQuoteContext :: QuoteContext -> ParsecT s st m a -> ParsecT s st m a
962962
963−instance Monad m => HasQuoteContext ParserState m where
963+instance PandocMonad m => HasQuoteContext ParserState m where
964964 getQuoteContext = stateQuoteContext <$> getState
965965 withQuoteContext context parser = do
966966 oldState <- getState