packages feed

bzlib 0.5.0.4 → 0.5.0.5

raw patch · 2 files changed

+11/−3 lines, 2 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

Codec/Compression/BZip/Stream.hsc view
@@ -69,7 +69,8 @@ import Data.ByteString.Internal (nullForeignPtr) import System.IO.Unsafe (unsafeInterleaveIO) import System.IO (hPutStrLn, stderr)-import Control.Monad (liftM)+import Control.Applicative (Applicative(..))+import Control.Monad (liftM, ap) import Control.Exception (assert)  import Prelude hiding (length)@@ -219,6 +220,13 @@               ,ForeignPtr Word8               ,Int, Int, a)   }++instance Functor Stream where+    fmap = liftM++instance Applicative Stream where+    pure  = return+    (<*>) = ap  instance Monad Stream where   (>>=)  = thenZ
bzlib.cabal view
@@ -1,6 +1,6 @@ name:            bzlib-version:         0.5.0.4-copyright:       (c) 2006-2011 Duncan Coutts+version:         0.5.0.5+copyright:       (c) 2006-2015 Duncan Coutts license:         BSD3 license-file:    LICENSE author:          Duncan Coutts <duncan@community.haskell.org>