packages feed

conduit 1.2.5 → 1.2.5.1

raw patch · 11 files changed

+13/−36 lines, 11 filesdep ~QuickCheckdep ~basePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: QuickCheck, base

API changes (from Hackage documentation)

- Data.Conduit: getZipConduit :: ZipConduit i o m r -> ConduitM i o m r
- Data.Conduit: getZipSink :: ZipSink i m r -> Sink i m r
- Data.Conduit: getZipSource :: ZipSource m o -> Source m o
- Data.Conduit.Internal: getZipConduit :: ZipConduit i o m r -> ConduitM i o m r
- Data.Conduit.Internal: getZipSink :: ZipSink i m r -> Sink i m r
- Data.Conduit.Internal: getZipSource :: ZipSource m o -> Source m o
- Data.Conduit.Internal: unConduitM :: ConduitM i o m r -> forall b. (r -> Pipe i i o () m b) -> Pipe i i o () m b
- Data.Conduit.Internal.Fusion: instance Functor (Step s o)
+ Data.Conduit: [getZipConduit] :: ZipConduit i o m r -> ConduitM i o m r
+ Data.Conduit: [getZipSink] :: ZipSink i m r -> Sink i m r
+ Data.Conduit: [getZipSource] :: ZipSource m o -> Source m o
+ Data.Conduit.Internal: [getZipConduit] :: ZipConduit i o m r -> ConduitM i o m r
+ Data.Conduit.Internal: [getZipSink] :: ZipSink i m r -> Sink i m r
+ Data.Conduit.Internal: [getZipSource] :: ZipSource m o -> Source m o
+ Data.Conduit.Internal: [unConduitM] :: ConduitM i o m r -> forall b. (r -> Pipe i i o () m b) -> Pipe i i o () m b
+ Data.Conduit.Internal.Fusion: instance GHC.Base.Functor (Data.Conduit.Internal.Fusion.Step s o)

Files

Data/Conduit.hs view
@@ -1,5 +1,6 @@ {-# LANGUAGE RankNTypes #-} {-# LANGUAGE DeriveFunctor #-}+{-# LANGUAGE Safe #-} -- | If this is your first time with conduit, you should probably start with -- the tutorial: -- <https://haskell.fpcomplete.com/user/snoyberg/library-documentation/conduit-overview>.
Data/Conduit/Internal.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE Safe #-} {-# OPTIONS_HADDOCK not-home #-} module Data.Conduit.Internal     ( -- * Pipe
Data/Conduit/Internal/Conduit.hs view
@@ -1,4 +1,5 @@ {-# OPTIONS_HADDOCK not-home #-}+{-# LANGUAGE DeriveFunctor #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE CPP #-}@@ -6,8 +7,7 @@ {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE TupleSections #-}-{-# LANGUAGE GeneralizedNewtypeDeriving #-}-{-# LANGUAGE ImpredicativeTypes #-}+{-# LANGUAGE Trustworthy #-} module Data.Conduit.Internal.Conduit     ( -- ** Types       ConduitM (..)
Data/Conduit/Internal/Fusion.hs view
@@ -2,6 +2,7 @@ {-# LANGUAGE RankNTypes #-} {-# LANGUAGE BangPatterns #-} {-# LANGUAGE DeriveFunctor #-}+{-# LANGUAGE Trustworthy #-} module Data.Conduit.Internal.Fusion     ( -- ** Types       Step (..)
Data/Conduit/Internal/List/Stream.hs view
@@ -1,6 +1,7 @@ {-# LANGUAGE BangPatterns #-} {-# LANGUAGE TupleSections #-} {-# LANGUAGE RankNTypes #-}+{-# LANGUAGE Trustworthy #-} module Data.Conduit.Internal.List.Stream where  import           Control.Monad (liftM)
Data/Conduit/Internal/Pipe.hs view
@@ -6,8 +6,8 @@ {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE TupleSections #-}-{-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE ImpredicativeTypes #-}+{-# LANGUAGE Trustworthy #-} module Data.Conduit.Internal.Pipe     ( -- ** Types       Pipe (..)
Data/Conduit/Lift.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE RankNTypes #-}+{-# LANGUAGE Safe #-} -- | Allow monad transformers to be run\/eval\/exec in a section of conduit -- rather then needing to run across the whole conduit.  The circumvents many -- of the problems with breaking the monad transformer laws.  For more
Data/Conduit/List.hs view
@@ -1,6 +1,7 @@ {-# LANGUAGE RankNTypes #-} {-# LANGUAGE BangPatterns #-} {-# LANGUAGE CPP #-}+{-# LANGUAGE Trustworthy #-} -- | Higher-level functions to interact with the elements of a stream. Most of -- these are based on list functions. --
conduit.cabal view
@@ -1,5 +1,5 @@ Name:                conduit-Version:             1.2.5+Version:             1.2.5.1 Synopsis:            Streaming data processing library. description:     Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/conduit>.@@ -50,14 +50,15 @@     build-depends:   conduit                    , base                    , hspec >= 1.3-                   , QuickCheck >= 2.5+                   , QuickCheck >= 2.7                    , transformers                    , mtl                    , resourcet-                   , void                    , containers                    , exceptions >= 0.6                    , safe+    if !impl(ghc>=7.9)+        build-depends: void     ghc-options:     -Wall  --test-suite doctests
test/Data/Conduit/StreamSpec.hs view
@@ -574,28 +574,6 @@         liftM (\(l, o) -> (r:l, o)) $ go s' xs  ----------------------------------------------------------------------------------- Utilities from QuickCheck-2.7 (absent in earlier versions)--#if !MIN_VERSION_QuickCheck(2,7,0)-getBlind :: Blind a -> a-getBlind (Blind x) = x---- | @Small x@: generates values of @x@ drawn from a small range.--- The opposite of 'Large'.-newtype Small a = Small {getSmall :: a}-    deriving (Prelude.Ord, Prelude.Eq, Prelude.Enum, Prelude.Show)--instance Prelude.Integral a => Arbitrary (Small a) where-    arbitrary = Prelude.fmap Small arbitrarySizedIntegral-    shrink (Small x) = Prelude.map Small (shrinkIntegral x)--(===) :: (Show a, Eq a) => a -> a -> Property-x === y = whenFail-    (Prelude.fail $ Prelude.show x Prelude.++ " should match " Prelude.++ Prelude.show y)-    (x == y)-#endif---------------------------------------------------------------------------------- -- Utilities taken from monad-loops package  -- http://hackage.haskell.org/package/monad-loops
test/main.hs view
@@ -35,14 +35,6 @@ import qualified Data.Map as Map import qualified Data.Conduit.Extra.ZipConduitSpec as ZipConduit import qualified Data.Conduit.StreamSpec as Stream-#if !MIN_VERSION_QuickCheck(2,6,0)-import Test.QuickCheck (Testable(..))-import Test.QuickCheck.Property (morallyDubiousIOProperty)--instance Testable (IO ()) where-    property = morallyDubiousIOProperty . (>> return True)-    exhaustive _ = True-#endif  (@=?) :: (Eq a, Show a) => a -> a -> IO () (@=?) = flip shouldBe