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

Binary decoding #170

Open
DouglasRaillard opened this issue Aug 12, 2020 · 0 comments
Open

Binary decoding #170

DouglasRaillard opened this issue Aug 12, 2020 · 0 comments

Comments

@DouglasRaillard
Copy link

This is more a feature request than a bug: having some ways of parsing binary content directly from attoparsec would be very useful (types from Data.Word and Data.Int like Word64).

One could argue that Data.Binary.Get monad should be used in this case, but it lacks strictness and combinators. A strict version exists from binary-strict, but there is no combinator library on top of it.

Currently, I'm wrapping Data.Binary.Get monad to make it play with attoparsec, which works but is a bit clunky. Having a simple glue as an attoparsec module would be great.

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

No branches or pull requests

1 participant