@@ -313,8 +313,7 @@ many1Till p end = do
313313 return (first:rest)
314314
315315-- | Like @manyTill@, but also returns the result of end parser.
316−manyUntil :: (Stream s m t)
317− => ParserT s u m a
316+manyUntil :: ParserT s u m a
318317 -> ParserT s u m b
319318 -> ParserT s u m ([a], b)
320319manyUntil p end = scan
@@ -328,8 +327,7 @@ manyUntil p end = scan
328327
329328-- | Like @sepBy1@ from Parsec,
330329-- but does not fail if it @sep@ succeeds and @p@ fails.
331−sepBy1' :: (Stream s m t)
332− => ParsecT s u m a
330+sepBy1' :: ParsecT s u m a
333331 -> ParsecT s u m sep
334332 -> ParsecT s u m [a]
335333sepBy1' p sep = (:) <$> p <*> many (try $ sep >> p)
@@ -440,7 +438,7 @@ stringAnyCase (x:xs) = do
440438 return (firstChar:rest)
441439
442440-- | Parse contents of 'str' using 'parser' and return result.
443−parseFromString :: (Monad m, Stream s m Char, IsString s)
441+parseFromString :: (Stream s m Char, IsString s)
444442 => ParserT s st m r
445443 -> String
446444 -> ParserT s st m r
@@ -458,7 +456,7 @@ parseFromString parser str = do
458456
459457-- | Like 'parseFromString' but specialized for 'ParserState'.
460458-- This resets 'stateLastStrPos', which is almost always what we want.
461−parseFromString' :: (Monad m, Stream s m Char, IsString s)
459+parseFromString' :: (Stream s m Char, IsString s)
462460 => ParserT s ParserState m a
463461 -> String
464462 -> ParserT s ParserState m a
@@ -1019,7 +1017,7 @@ gridTableFooter = blanklines
10191017---
10201018
10211019-- | Removes the ParsecT layer from the monad transformer stack
1022−readWithM :: (Monad m, Stream s m Char, ToString s)
1020+readWithM :: (Stream s m Char, ToString s)
10231021 => ParserT s st m a -- ^ parser
10241022 -> st -- ^ initial state
10251023 -> s -- ^ input
@@ -1410,7 +1408,7 @@ extractIdClass (ident, cls, kvs) = (ident', cls', kvs')
14101408 Nothing -> cls
14111409 kvs' = filter (\(k,_) -> k /= "id" || k /= "class") kvs
14121410
1413−insertIncludedFile' :: (PandocMonad m, HasIncludeFiles st, Monad mf)
1411+insertIncludedFile' :: (PandocMonad m, HasIncludeFiles st)
14141412 => ParserT [a] st m (mf Blocks)
14151413 -> (String -> [a])
14161414 -> [FilePath] -> FilePath