Parsec's parse pattern "(some_input)" input returns the parsed data (as I specified in pattern.
How to know how much of input have it consumed (the pattern is not anchored with eof)? I don't want to add length tracking though the all pattern's internals (if discards some parts of input).
getInput;(the answer is based on comments to the question)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With