-
Notifications
You must be signed in to change notification settings - Fork 1
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
Data.Attoparsec.ByteString.Streaming.parse uses left-biased Either #1
Comments
It's an oversight. Here and in a couple other modules here I am refactoring |
Since swapping the Either is a breaking change, I'm sure it can wait until the large bump. Another thing that would be good to have for the large bump is parsing with length, i.e. parseL and parsedL, similar to pipes-attoparsec. By the way, how do you feel about splitting up the package? It currently brings in a lot of unrelated functionality. I wanted to stream an attoparsec parser, but was unable to compile streaming-utils on Windows because one of the JSON dependencies was POSIX only. The JSON dependency is fixed now, but it's still something that isn't needed for attoparsec support. |
Came here to open this issue, to find it already open! Just echoing that left-biased |
Right sorry, I got bogged down in an excess of choice points. My decision was just to make a separate |
Ah, nice. I'd rather have that than the catch-all I'll also point out a typo / historical artifact in the docs, where your import alias is |
At a quick glance it looks great, thanks! Is it possible to easily recover parseL & parsedL, or are separate implementations required like in pipes-attoparsec? |
👍 for splitting up this package. Over time the dependency list will just get huge. I'm thinking about contributing a connection to |
Oh cool @mboes , this was you. |
A factored-out streaming-attoparsec has been added to the |
Is there a reason, or just an oversight?
The text was updated successfully, but these errors were encountered: