packages feed

conduit 1.2.2.2 → 1.2.3

raw patch · 3 files changed

+17/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Data.Conduit: connect :: Monad m => Source m a -> Sink a m b -> m b
+ Data.Conduit: fuse :: Monad m => Conduit a m b -> ConduitM b c m r -> ConduitM a c m r

Files

Data/Conduit.hs view
@@ -15,6 +15,8 @@     , ($=)     , (=$)     , (=$=)+    , connect+    , fuse        -- *** Fuse with upstream results     , fuseBoth@@ -90,3 +92,15 @@     ) where  import Data.Conduit.Internal.Conduit++-- | Named function synonym for '$$'.+--+-- Since 1.2.3+connect :: Monad m => Source m a -> Sink a m b -> m b+connect = ($$)++-- | Named function synonym for '=$='.+--+-- Since 1.2.3+fuse :: Monad m => Conduit a m b -> ConduitM b c m r -> ConduitM a c m r+fuse = (=$=)
changelog.md view
@@ -1,3 +1,5 @@+__1.2.3__ Expose `connect` and `fuse` as synonyms for `$$` and `=$=`, respectively.+ __1.2.2__ Lots more stream fusion.  __1.2__ Two performance optimizations added. (1) A stream fusion framework. This is a non-breaking change. (2) Codensity transform applied to the `ConduitM` datatype. This only affects users importing the `.Internal` module. Both changes are thoroughly described in the following to blog posts: [Speeding up conduit](https://www.fpcomplete.com/blog/2014/08/iap-speeding-up-conduit), and [conduit stream fusion](https://www.fpcomplete.com/blog/2014/08/conduit-stream-fusion).
conduit.cabal view
@@ -1,5 +1,5 @@ Name:                conduit-Version:             1.2.2.2+Version:             1.2.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>.