Refined constraint for HasQuoteContext instance.
in hopes that this will help the ghc 7.8.4 build...
This commit is contained in:
parent
3ccf3fad2c
commit
3c427fc17d
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 Monad m => HasQuoteContext ParserState m where
|
||||
instance PandocMonad m => HasQuoteContext ParserState m where
|
||||
getQuoteContext = stateQuoteContext <$> getState
|
||||
withQuoteContext context parser = do
|
||||
oldState <- getState
|
||||
|
|
Loading…
Add table
Reference in a new issue