We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
drop
Text.Megaparsec
I'd love to have Text.Megaparsec to export
-- | Advance by / ignore `n` input tokens drop :: MonadParsec e s m => Int -> m () drop n = P.skipCount n $ P.token Just mempty
(or possibly implement it with getOffset / setOffset, if that results in the exact same parser state, not sure)
getOffset
setOffset