haskell / haskell/attoparsec

Binary decoding

Open
#170 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
531
Forks
98
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.