Closed favonia closed 1 year ago
Interesting, you should fill in a PR for that! :)
Any progress on this? It'd be a nice, and I think essential, addition to Attoparsec. I remember needing this a few years back and writing it myself so it's nice to see it's getting some traction. I also suggest adding a function that returns both sections in a 2-tuple, named till
or something more precise. I'll build on @favonia's PR with that added, I still have the code lying around.
After more then 5 years of inactivity, I can only assume the maintainer is not interested.
I found the following gadget useful in many of my scripts. It's the "opposite" of
manyTill
.I am wondering if people find this useful too. If so, I'd like to propose adding this one (or an optimized one) to the library.