conduit 1.1.3 → 1.1.4
raw patch · 3 files changed
+18/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.Conduit: newResumableConduit :: Monad m => Conduit i m o -> ResumableConduit i m o
+ Data.Conduit: newResumableSource :: Monad m => Source m o -> ResumableSource m o
+ Data.Conduit.Internal: newResumableConduit :: Monad m => Conduit i m o -> ResumableConduit i m o
+ Data.Conduit.Internal: newResumableSource :: Monad m => Source m o -> ResumableSource m o
Files
- Data/Conduit.hs +2/−0
- Data/Conduit/Internal.hs +15/−0
- conduit.cabal +1/−1
Data/Conduit.hs view
@@ -47,6 +47,7 @@ -- * Connect-and-resume , ResumableSource+ , newResumableSource , ($$+) , ($$++) , ($$+-)@@ -56,6 +57,7 @@ -- ** For @Conduit@s , ResumableConduit+ , newResumableConduit , (=$$+) , (=$$++) , (=$$+-)
Data/Conduit/Internal.hs view
@@ -64,6 +64,8 @@ , withUpstream , unwrapResumable , unwrapResumableConduit+ , newResumableSource+ , newResumableConduit , Data.Conduit.Internal.enumFromTo , zipSinks , zipSources@@ -724,6 +726,13 @@ x <- liftIO $ I.readIORef ref when x final return (liftIO (I.writeIORef ref False) >> src, final')++-- | Turn a @Source@ into a @ResumableSource@ with no attached finalizer.+--+-- Since 1.1.4+newResumableSource :: Monad m => Source m o -> ResumableSource m o+newResumableSource s = ResumableSource s (return ())+ infixr 9 <+< infixl 9 >+> @@ -1060,6 +1069,12 @@ x <- liftIO $ I.readIORef ref when x final return (liftIO (I.writeIORef ref False) >> src, final')++-- | Turn a @Conduit@ into a @ResumableConduit@ with no attached finalizer.+--+-- Since 1.1.4+newResumableConduit :: Monad m => Conduit i m o -> ResumableConduit i m o+newResumableConduit c = ResumableConduit c (return ()) -- | Turn a @Sink@ into a @Conduit@ in the following way: --
conduit.cabal view
@@ -1,5 +1,5 @@ Name: conduit-Version: 1.1.3+Version: 1.1.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>.