lexi-lambda/megaparsack

Feature request: `label/p` should accept thunks

usaoc opened this issue · 0 comments

usaoc commented

In addition to string?, label/p should also accept (-> string?) as the label argument. This way, nonliteral labels can be produced only when failures are reported. This is most useful in string/p and friends, which can be changed to iterate over indexes than substrings.