Sounds pretty good and applicable to a system I've been trying to implement. I've been trying to understand Iteratee, and it seems like a way of fusing some of the parsing with some of the IO in a fairly safe way. Is this a correct way to think of it? Dave On Fri, Mar 12, 2010 at 6:25 PM, Gregory Collins <greg@gregorycollins.net>wrote:
Hi all,
I've just uploaded the first version of the attoparsec-iteratee library to Hackage:
http://hackage.haskell.org/package/attoparsec-iteratee
It takes applicative parsers written using attoparsec and automagically converts them to iteratees that can parse things from streams in O(1) space.
....and the combination is fast: a prototype HTTP server I'm working on uses this library and can handle as many as 13k reqs/sec on my Macbook.
G -- Gregory Collins <greg@gregorycollins.net> _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe