Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add delimit #8

Merged
merged 1 commit into from
Sep 19, 2019
Merged

Add delimit #8

merged 1 commit into from
Sep 19, 2019

Conversation

andrewthad
Copy link
Member

This is a response (in a different library albeit) to and old attoparsec issue: can we have a combinator that delimits a subparser? Yes, we can. The pattern of prefixing a portion of a document with its length shows up all over the place in the world of encoding schemes. To name a few: kafka, postgresql, ASN.1. This PR adds delimit, which makes getting this right easy for the users.

@andrewthad andrewthad merged commit 50d4619 into master Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant