binrep-0.8.0: Encode precise binary representations directly in types
Safe HaskellSafe-Inferred
LanguageGHC2021

Raehik.Compat.FlatParse.Basic.WithLength

Description

 
Synopsis

Documentation

parseWithLength :: 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.