Permalink
Browse files

Dumb oversight -> Version 0.2.1

  • Loading branch information...
1 parent ad7c69c commit aaa1eb12ba074dcfca9c18eaeebe070e44472793 @maltem maltem committed Mar 25, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 Codec/Zlib/Enum.hs
  2. +1 −1 zlib-enum.cabal
View
4 Codec/Zlib/Enum.hs
@@ -14,11 +14,11 @@ import Data.ByteString (ByteString)
-- | Gzip compression with default parameters.
gzip :: MonadIO m => Enumeratee ByteString ByteString m a
-gzip = compress 1 defaultWindowBits
+gzip = compress 1 (WindowBits 31)
-- | Gzip decompression with default parameters.
ungzip :: MonadIO m => Enumeratee ByteString ByteString m a
-ungzip = decompress defaultWindowBits
+ungzip = decompress (WindowBits 31)
-- |
-- Decompress (inflate) a stream of 'ByteString's. For example:
View
2 zlib-enum.cabal
@@ -1,5 +1,5 @@
name: zlib-enum
-version: 0.2
+version: 0.2.1
license: MIT
license-file: LICENSE
author: Paulo Tanimoto <ptanimoto@gmail.com>

0 comments on commit aaa1eb1

Please sign in to comment.