pipe-enumerator 0.3.0.0 → 0.3.0.1
raw patch · 2 files changed
+9/−8 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Pipes.Enumerator: pipeToEnumerator' :: Monad m => (r1 -> r2 -> m r) -> Proxy a' (Maybe a) () b m r1 -> Step b m r2 -> Iteratee a m r
Files
- pipe-enumerator.cabal +7/−6
- src/Pipes/Enumerator.lhs +2/−2
pipe-enumerator.cabal view
@@ -1,5 +1,5 @@ name: pipe-enumerator-version: 0.3.0.0+version: 0.3.0.1 synopsis: A bidirectional bridge between pipes and iteratees homepage: https://github.com/zadarnowski/pipe-enumerator category: Control, Pipes@@ -15,11 +15,12 @@ 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 'E.Iteratee' and back into a pipe. In addition, a pipe- can be fed into an iteratee (or, more specifically, 'E.Step'),- resulting in an 'E.Enumerator'.+ 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",+ The library has been designed specifically for use with Snap, but I'm sure that many other interesting uses of it exist. cabal-version: >= 1.18@@ -34,7 +35,7 @@ source-repository this type: git location: https://github.com/zadarnowski/pipe-enumerator.git- tag: 0.3.0.0+ tag: 0.3.0.1 library hs-source-dirs: src
src/Pipes/Enumerator.lhs view
@@ -13,14 +13,14 @@ > -- can be fed into an iteratee (or, more specifically, 'E.Step'), > -- resulting in an 'E.Enumerator'. > ---> -- The library has been designed specifically for use with "Snap",+> -- The library has been designed specifically for use with Snap, > -- but I'm sure that many other interesting uses of it exist. > module Pipes.Enumerator ( > fromStream, toStream, toSingletonStream, > iterateeToPipe, stepToPipe, > pipeToIteratee,-> pipeToEnumerator+> pipeToEnumerator, pipeToEnumerator' > ) where > import Control.Exception (SomeException)