Incremental parsing and left folds

Bryan O'Sullivan bos at
Fri Feb 1 12:35:18 EST 2008

Johan Tibell wrote:

> I initially used lazy I/O with lazy bytestrings in my web server but
> I'm changing that behvior to use left folds instead precisely because
> of the reasons you (and Oleg) mentioned. Unfortunately, that means I
> need a incremental Parsec for bytestrings (I think) so there's yet
> another library to write.

It wouldn't be hard to take bytestringparser and perform the same
transformation on it as Adam Langley did with his IncrementalGet parser
for strict-binary.  I've been skipping it due to lack of time, but it's
an obviously right thing to do.


More information about the Libraries mailing list