Implement a delimiter for Get's bytesRead
- Dominant language
- Haskell
- Stars
- 120
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
Basically something like `delimit :: Get a -> Get a` that resets the `bytesRead` counter on the inner `Get`. This would primarily be useful in conjunction with the `isolate` combinator (which can then act undelimited by default, and we can modify it to be delimited if needed) or the alignment combinator I propose in #50.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Get type and its bytesRead handling, then read the isolate combinator and the alignment proposal in #50 for context. Define done as a delimiter that resets the inner Get's bytesRead counter and behaves consistently with isolate and the proposed alignment combinator.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100