Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bumped version number and updated test suite

  • Loading branch information...
commit aaf7bafe4de0d3619c75923c3f8fa8d8bb23201d 1 parent 82e68b0
def-lkb def-lkb authored
Showing with 8 additions and 8 deletions.
  1. +3 −3 test.hs
  2. +5 −5 zlib-enum.cabal
6 test.hs
View
@@ -191,10 +191,10 @@ compressChunks :: WindowBits -> [ByteString] -> IO [ByteString]
compressChunks win xs = do
def <- initDeflate 7 win
gziped <- foldM (go' def) id xs
- gziped' <- finishDeflate def $ go gziped
+ gziped' <- go gziped (finishDeflate def)
return $ gziped' []
where
- go' def front bs = withDeflateInput def bs $ go front
+ go' def front bs = feedDeflate def bs >>= go front
go front x = do
y <- x
case y of
@@ -209,7 +209,7 @@ decompressChunks win xs = do
final <- finishInflate inf
return $ ungziped [final]
where
- go' inf front bs = withInflateInput inf bs $ go front
+ go' inf front bs = feedInflate inf bs >>= go front
go front x = do
y <- x
case y of
10 zlib-enum.cabal
View
@@ -1,5 +1,5 @@
name: zlib-enum
-version: 0.2.1
+version: 0.2.1.1
license: MIT
license-file: LICENSE
author: Paulo Tanimoto <ptanimoto@gmail.com>
@@ -26,7 +26,7 @@ library
, bytestring
, transformers == 0.2.*
, enumerator >= 0.4
- , zlib-bindings
+ , zlib-bindings >= 0.1
exposed-modules: Codec.Zlib.Enum
ghc-options: -Wall
@@ -40,10 +40,10 @@ executable zlib-enum-test
, bytestring >= 0.9 && < 0.10
, transformers == 0.2.*
, enumerator >= 0.4 && < 0.5
- , zlib-bindings >= 0.0 && < 0.1
+ , zlib-bindings >= 0.1
, process >= 1.0 && < 1.1
- , test-framework >= 0.3 && < 0.4
- , test-framework-quickcheck2 >= 0.2.9 && < 0.3.0
+ , test-framework >= 0.6 && < 0.7
+ , test-framework-quickcheck2 >= 0.2.12.1 && < 0.3.0
, QuickCheck >= 2.4 && < 2.5
else
Buildable: False
Please sign in to comment.
Something went wrong with that request. Please try again.