[Haskell-cafe] Re: Iteratee-based IO
Adam Langley
agl at imperialviolet.org
Sun Sep 21 10:31:19 EDT 2008
On Sat, Sep 20, 2008 at 8:17 PM, Don Stewart <dons at galois.com> wrote:
> Wonderful. Thanks Oleg, I'll be studying these on the trip up to
> Victoria. See you there!
Something similar is available in binary-strict[1], although there I
have (versions of) IE_Done, IE_Cont and (additionally) IE_Fail, for
indicating a parse failure.
The actual implementation is unpleasant, although functional.
[1] http://darcs.imperialviolet.org/darcsweb.cgi?r=binary-strict;a=headblob;f=/src/Data/Binary/Strict/IncrementalGet.hs
--
Adam Langley agl at imperialviolet.org http://www.imperialviolet.org
More information about the Haskell-Cafe
mailing list