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?
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