[Haskell-cafe] data.binary get reading beyond end of input bytestring?

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Thu Jul 29 18:12:57 EDT 2010

"Bryan O'Sullivan" <bos at serpentine.com> writes:

> On Wed, Jul 28, 2010 at 8:38 PM, Max Cantor <mxcantor at gmail.com> wrote:
>> I have a similar issue, I think.  The problem with attoparsec is it only
>> covers the unmarshalling side, writing data to disk still requires manually
>> marshalling values into ByteStrings.  Data.Binary with Data.Derive provide a
>> clean, proven (encode . decode == id) way of doing this.
>> If there's a way to accomplish this with attoparsec, I'd love to know.
> Sorry, attoparsec is just a parsing library :-)

:o You mean it isn't the solution to all of the world's problems?

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list