conduit 1.1.2.1 → 1.1.3
raw patch · 2 files changed
+11/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.Conduit: closeResumableSource :: Monad m => ResumableSource m a -> m ()
Files
- Data/Conduit.hs +10/−0
- conduit.cabal +1/−1
Data/Conduit.hs view
@@ -52,6 +52,7 @@ , ($$+-) , ($=+) , unwrapResumable+ , closeResumableSource -- ** For @Conduit@s , ResumableConduit@@ -331,6 +332,15 @@ -- Since 1.0.16 ($=+) :: Monad m => ResumableSource m a -> Conduit a m b -> ResumableSource m b ResumableSource src final $=+ sink = ResumableSource (src $= sink) final++-- | Execute the finalizer associated with a @ResumableSource@, rendering the+-- @ResumableSource@ invalid for further use.+--+-- This is just a more explicit version of @$$+- return ()@.+--+-- Since 1.1.3+closeResumableSource :: Monad m => ResumableSource m a -> m ()+closeResumableSource = ($$+- return ()) -- | Provide for a stream of data that can be flushed. --
conduit.cabal view
@@ -1,5 +1,5 @@ Name: conduit-Version: 1.1.2.1+Version: 1.1.3 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>.