mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 10:16:32 +00:00
Refined constraint for HasQuoteContext instance.
in hopes that this will help the ghc 7.8.4 build...
This commit is contained in:
@@ -960,7 +960,7 @@ class HasQuoteContext st m where
|
||||
getQuoteContext :: (Stream s m t) => ParsecT s st m QuoteContext
|
||||
withQuoteContext :: QuoteContext -> ParsecT s st m a -> ParsecT s st m a
|
||||
|
||||
instance Monad m => HasQuoteContext ParserState m where
|
||||
instance PandocMonad m => HasQuoteContext ParserState m where
|
||||
getQuoteContext = stateQuoteContext <$> getState
|
||||
withQuoteContext context parser = do
|
||||
oldState <- getState
|
||||
|
||||
Reference in New Issue
Block a user