pipe-enumerator

A bidirectional bridge between pipes and iteratees

https://github.com/zadarnowski/pipe-enumerator

Latest on Hackage:0.3.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Patryk Zadarnowski
Maintained by Patryk Zadarnowski

This library defines a set of functions that convert between the Pipes and Data.Enumerator paradigms. The conversion is bidirectional: an appropriately-typed pipe can be converted into an Data.Enumerator.Iteratee and back into a pipe. In addition, a pipe can be fed into an iteratee (or, more specifically, Data.Enumerator.Step), resulting in an Data.Enumerator.Enumerator. The library has been designed specifically for use with Snap, but I'm sure that many other interesting uses of it exist.