conduit 1.0.7.3 → 1.0.7.4
raw patch · 2 files changed
+5/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Data/Conduit/Binary.hs +4/−4
- conduit.cabal +1/−1
Data/Conduit/Binary.hs view
@@ -263,8 +263,8 @@ -- -- Since 0.3.0 take :: Monad m => Int -> Consumer S.ByteString m L.ByteString-take n0 =- go n0 id+take 0 = return L.empty+take n0 = go n0 id where go n front = await >>= maybe (return $ L.fromChunks $ front []) go'@@ -281,8 +281,8 @@ -- -- Since 0.5.0 drop :: Monad m => Int -> Consumer S.ByteString m ()-drop =- go+drop 0 = return ()+drop n0 = go n0 where go n = await >>= maybe (return ()) go'
conduit.cabal view
@@ -1,5 +1,5 @@ Name: conduit-Version: 1.0.7.3+Version: 1.0.7.4 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 tutorial, please visit <https://haskell.fpcomplete.com/user/snoyberg/library-documentation/conduit-overview>.