/usr/share/doc/libghc-pipes-zlib-doc/html/pipes-zlib.txt is in libghc-pipes-zlib-doc 0.4.0.1-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Zlib compression and decompression for Pipes streams
--
-- Zlib compression and decompression for Pipes streams
@package pipes-zlib
@version 0.4.0.1
-- | This module exports utilities to compress and decompress
-- <tt>pipes</tt> streams using the zlib compression codec.
module Pipes.Zlib
-- | Decompress bytes flowing from a <a>Producer</a>.
--
-- See the <a>Codec.Compression.Zlib</a> module for details about
-- <a>WindowBits</a>.
decompress :: MonadIO m => WindowBits -> Producer' ByteString m r -> Producer' ByteString m r
-- | Compress bytes flowing from a <a>Producer</a>.
--
-- See the <a>Codec.Compression.Zlib</a> module for details about
-- <a>CompressionLevel</a> and <a>WindowBits</a>.
compress :: MonadIO m => CompressionLevel -> WindowBits -> Producer' ByteString m r -> Producer' ByteString m r
-- | The default compression level is 6 (that is, biased towards higher
-- compression at expense of speed).
defaultCompression :: CompressionLevel
-- | No compression, just a block copy.
noCompression :: CompressionLevel
-- | The fastest compression method (less compression)
bestSpeed :: CompressionLevel
-- | The slowest compression method (best compression).
bestCompression :: CompressionLevel
-- | A specific compression level between 0 and 9.
compressionLevel :: Int -> CompressionLevel
-- | The default <a>WindowBits</a> is 15 which is also the maximum size.
defaultWindowBits :: WindowBits
-- | A specific compression window size, specified in bits in the range
-- <tt>8..15</tt>
windowBits :: Int -> WindowBits
|