Skip to content

Commit 5aa51b3

Browse files
committed
version repairs for stackage
1 parent 5ec0691 commit 5aa51b3

2 files changed

Lines changed: 8 additions & 23 deletions

File tree

Streaming/Zip.hs

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,11 @@ decompress' wbits p0 = go p0 =<< liftIO (Z.initInflate wbits)
8787
--
8888
-- See the "Codec.Compression.Zlib" module for details about
8989
-- 'Z.CompressionLevel' and 'Z.WindowBits'.
90-
--
90+
9191
-- @
92-
-- 'compress' :: 'MonadIO' m
93-
-- => 'Z.CompressionLevel'
94-
-- -> 'Z.WindowBits'
95-
-- -> 'ByteString' m r
96-
-- -> 'ByteString' m r
92+
-- 'compress' 'defaultCompression' 'defaultWindowBits' :: 'MonadIO' m => 'ByteString' m r -> 'ByteString' m r
9793
-- @
94+
--
9895
compress
9996
:: MonadIO m
10097
=> CompressionLevel
@@ -145,12 +142,7 @@ windowBits :: Int -> WindowBits
145142
windowBits = WindowBits
146143

147144
-- | Decompress a gzipped byte stream.
148-
--
149-
-- @
150-
-- 'gunzip' :: 'MonadIO' m
151-
-- => 'ByteString' m r
152-
-- -> 'ByteString' m r
153-
-- @
145+
154146
gunzip
155147
:: MonadIO m
156148
=> ByteString m r -- ^ Compressed stream
@@ -171,13 +163,7 @@ gunzip' = decompress' gzWindowBits
171163

172164

173165
-- | Compress a byte stream in the gzip format.
174-
--
175-
-- @
176-
-- 'gzip' :: 'MonadIO' m
177-
-- => 'ZC.CompressionLevel'
178-
-- -> 'ByteString' m r
179-
-- -> 'ByteString' m r
180-
-- @
166+
181167
gzip
182168
:: MonadIO m
183169
=> CompressionLevel

streaming-utils.cabal

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: streaming-utils
2-
version: 0.1.4.4
2+
version: 0.1.4.5
33
synopsis: http, attoparsec, pipes and other utilities for the streaming libraries
44

55
description: This package includes http-client, aeson, attoparsec, zlib and pipes utilities for use with
@@ -71,13 +71,12 @@ library
7171
streaming >= 0.1.4.0 && < 0.1.4.8,
7272
streaming-bytestring >= 0.1.4.0 && < 0.1.4.8,
7373
bytestring > 0.10.0 && < 0.11.0,
74-
pipes >= 4.0 && < 4.3,
74+
pipes >= 4.0 && < 4.4,
7575
network-simple,
7676
network,
77-
-- pipes-concurrency >= 2.0 && < 2.1,
7877
http-client >=0.2 && <0.6,
7978
http-client-tls,
80-
aeson > 0.8 && <0.11.3,
79+
aeson > 0.8 && <1.2,
8180
json-stream > 0.4.0 && < 0.4.2,
8281
resourcet > 1.0 && < 1.2,
8382
streaming-commons > 0.1.0 && < 0.1.17

0 commit comments

Comments
 (0)