packages feed

pipes-wai 3.0.2 → 3.2.0

raw patch · 2 files changed

+5/−6 lines, 2 filesdep ~waiPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: wai

API changes (from Hackage documentation)

- Pipes.Wai: instance Eq a => Eq (Flush a)
- Pipes.Wai: instance Functor Flush
- Pipes.Wai: instance Ord a => Ord (Flush a)
- Pipes.Wai: instance Show a => Show (Flush a)
+ Pipes.Wai: instance GHC.Base.Functor Pipes.Wai.Flush
+ Pipes.Wai: instance GHC.Classes.Eq a => GHC.Classes.Eq (Pipes.Wai.Flush a)
+ Pipes.Wai: instance GHC.Classes.Ord a => GHC.Classes.Ord (Pipes.Wai.Flush a)
+ Pipes.Wai: instance GHC.Show.Show a => GHC.Show.Show (Pipes.Wai.Flush a)

Files

Pipes/Wai.hs view
@@ -19,7 +19,6 @@ import Network.HTTP.Types import Blaze.ByteString.Builder (Builder) import Data.IORef-import qualified Pipes.Prelude as CL  data Flush a = Chunk a | Flush              deriving (Eq, Ord, Show)@@ -51,7 +50,7 @@ responseProducer s hs src = responseStream s hs $ \send flush ->   runEffect $ for src $ \mbuilder -> case mbuilder of     Chunk b -> lift $ send b-    Flush -> lift $ flush+    Flush -> lift flush  -- | Create a raw response using a @Producer@ and @Consumer@ to represent the input -- and output, respectively.
pipes-wai.cabal view
@@ -2,10 +2,10 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                pipes-wai-version:             3.0.2+version:             3.2.0 synopsis:            A port of wai-conduit for the pipes ecosystem--- description:         -homepage:            http://github.com/brewtown/pipes-wai+description:         A light-weight wrapper around Network.Wai to provide easy pipes support.+homepage:            http://github.com/iand675/pipes-wai license:             MIT license-file:        LICENSE author:              Ian Duncan@@ -20,6 +20,6 @@   exposed-modules:     Pipes.Wai   -- other-modules:          -- other-extensions:    -  build-depends:       base == 4.*, wai ==3.0.*, pipes >=4, transformers, bytestring, http-types, blaze-builder+  build-depends:       base == 4.*, wai >=3.0 && < 3.3, pipes >=4, transformers, bytestring, http-types, blaze-builder   -- hs-source-dirs:         default-language:    Haskell2010