Safe Haskell | None |
---|---|
Language | GHC2021 |
Raehik.Compat.FlatParse.Basic.WithLength
Description
Synopsis
- parseWithLength :: forall (st :: ZeroBitType) e a. ParserT st e a -> ParserT st e (a, Int)
Documentation
parseWithLength :: forall (st :: ZeroBitType) e a. ParserT st e a -> ParserT st e (a, Int) Source #
Run a parser, and return the result as well as the number of bytes it consumed.