conduit 1.0.0 → 1.0.0.1
raw patch · 2 files changed
+6/−5 lines, 2 files
Files
- Data/Conduit/Internal.hs +5/−4
- conduit.cabal +1/−1
Data/Conduit/Internal.hs view
@@ -573,10 +573,11 @@ -- you have a @Pipe@ with leftovers, you must first call 'injectLeftovers'. For -- example: ----- > :load Data.Conduit.List--- > :set -XNoMonomorphismRestriction--- > let pipe = peek >>= \x -> fold (Prelude.+) 0 >>= \y -> return (x, y)--- > runPipe $ sourceList [1..10] >+> injectLeftovers pipe+-- >>> import Data.Conduit.List+-- >>> import Data.Conduit.Internal+-- >>> :set -XNoMonomorphismRestriction+-- >>> let pipe = peek >>= \x -> fold (Prelude.+) 0 >>= \y -> return (x, y)+-- >>> runPipe $ sourceList [1..10] >+> injectLeftovers pipe -- (Just 1,55) -- -- Since 0.5.0
conduit.cabal view
@@ -1,5 +1,5 @@ Name: conduit-Version: 1.0.0+Version: 1.0.0.1 Synopsis: Streaming data processing library. Description: @conduit@ is a solution to the streaming data problem, allowing for production, transformation, and consumption of streams of data in constant memory. It is an alternative to lazy I\/O which guarantees deterministic resource handling, and fits in the same general solution space as @enumerator@/@iteratee@ and @pipes@. For a brief tutorial, please see the "Data.Conduit" module.