/usr/share/doc/libghc-pipes-zlib-doc/html/pipes-zlib.txt is in libghc-pipes-zlib-doc 0.4.4.1-3build3.
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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Zlib and GZip compression and decompression for Pipes streams
--
-- Zlib and GZip compression and decompression for Pipes streams
@package pipes-zlib
@version 0.4.4.1
-- | This module exports utilities to compress and decompress
-- <tt>pipes</tt> streams using the zlib compression codec.
--
-- If you want to compress or decompress GZip streams, use the
-- <a>Pipes.GZip</a> module instead.
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>.
--
-- <pre>
-- <a>decompress</a> :: <a>MonadIO</a> m
-- => <a>WindowBits</a>
-- => <a>Producer</a> <a>ByteString</a> m r
-- -> <a>Producer</a> <a>ByteString</a> m r
-- </pre>
decompress :: MonadIO m => WindowBits -> Proxy x' x () ByteString m r -> Proxy x' x () ByteString m r
-- | Decompress bytes flowing from a <a>Producer</a>, returning any
-- leftover input that follows the compressed stream.
decompress' :: MonadIO m => WindowBits -> Producer ByteString m r -> Producer ByteString m (Either (Producer ByteString m r) 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>.
--
-- <pre>
-- <a>compress</a> :: <a>MonadIO</a> m
-- => <a>CompressionLevel</a>
-- -> <a>WindowBits</a>
-- -> <a>Producer</a> <a>ByteString</a> m r
-- -> <a>Producer</a> <a>ByteString</a> m r
-- </pre>
compress :: MonadIO m => CompressionLevel -> WindowBits -> Proxy x' x () ByteString m r -> Proxy x' x () ByteString m r
-- | How hard should we try to compress?
data CompressionLevel
defaultCompression :: CompressionLevel
noCompression :: CompressionLevel
bestSpeed :: CompressionLevel
bestCompression :: CompressionLevel
-- | A specific compression level between 0 and 9.
compressionLevel :: Int -> CompressionLevel
defaultWindowBits :: WindowBits
windowBits :: Int -> WindowBits
instance GHC.Classes.Ord Pipes.Zlib.CompressionLevel
instance GHC.Classes.Eq Pipes.Zlib.CompressionLevel
instance GHC.Read.Read Pipes.Zlib.CompressionLevel
instance GHC.Show.Show Pipes.Zlib.CompressionLevel
-- | This module exports utilities to compress and decompress GZip
-- <tt>pipes</tt> streams.
module Pipes.GZip
-- | Decompress bytes flowing from a <a>Producer</a>.
--
-- <pre>
-- <a>decompress</a> :: <a>MonadIO</a> m
-- => <a>Producer</a> <a>ByteString</a> m r
-- -> <a>Producer</a> <a>ByteString</a> m r
-- </pre>
decompress :: MonadIO m => Proxy x' x () ByteString m r -> Proxy x' x () ByteString m r
-- | Decompress bytes flowing from a <a>Producer</a>, returning any
-- leftover input that follows the compressed stream.
decompress' :: MonadIO m => Producer ByteString m r -> Producer ByteString m (Either (Producer ByteString m r) r)
-- | Compress bytes flowing from a <a>Producer</a>.
--
-- <pre>
-- <a>compress</a> :: <a>MonadIO</a> m
-- => <a>CompressionLevel</a>
-- -> <a>Producer</a> <a>ByteString</a> m r
-- -> <a>Producer</a> <a>ByteString</a> m r
-- </pre>
compress :: MonadIO m => CompressionLevel -> Proxy x' x () ByteString m r -> Proxy x' x () ByteString m r
-- | How hard should we try to compress?
data CompressionLevel
defaultCompression :: CompressionLevel
noCompression :: CompressionLevel
bestSpeed :: CompressionLevel
bestCompression :: CompressionLevel
-- | A specific compression level between 0 and 9.
compressionLevel :: Int -> CompressionLevel
|