Revert "Refined constraint for HasQuoteContext instance."
This reverts commit 3c427fc17d
.
This commit is contained in:
parent
3c427fc17d
commit
b246e8e9af
1 changed files with 1 additions and 1 deletions
|
@ -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 PandocMonad m => HasQuoteContext ParserState m where
|
||||
instance Monad m => HasQuoteContext ParserState m where
|
||||
getQuoteContext = stateQuoteContext <$> getState
|
||||
withQuoteContext context parser = do
|
||||
oldState <- getState
|
||||
|
|
Loading…
Reference in a new issue