Changes between Version 3 and Version 4 of coroutine-iteratee
- Timestamp:
- 11/28/10 19:23:00 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
coroutine-iteratee
v3 v4 3 3 The coroutine-iteratee package can be used as a bridge between the [http://hackage.haskell.org/package/iteratee iteratee] and [wiki:monad-coroutine] packages. It provides two-way conversion functions between an Iteratee and an Await-suspending coroutine, and also between an Enumerator and a Yield-suspending coroutine. 4 4 5 The function signatures are compatible with the [wiki:coroutine-enumerator] package, so the two packages can be combined into a bridge between the existing enumerator-based and iteratee-based libraries:5 The function signatures are compatible with the [wiki:coroutine-enumerator] package, so the two packages can be combined into a bridge between the existing enumerator-based and iteratee-based libraries: 6 6 7 7 {{{ … … 26 26 }}} 27 27 28 Here's an example that uses `enumInflate` from the (iteratee-based) package `iteratee-compress`, together with the enumerator-based function `iterHandle`, to build an iteratee that writes data into a compressed file:28 Here's an example that uses `enumInflate` from the (iteratee-based) package `iteratee-compress`, together with the enumerator-based function `iterHandle`, to build an iteratee that writes data into a compressed file: 29 29 30 30 {{{
