/usr/share/doc/libghc-zlib-enum-doc/html/Codec-Zlib-Enum.html is in libghc-zlib-enum-doc 0.2.1-3.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Codec.Zlib.Enum</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Codec-Zlib-Enum.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Codec-Zlib-Enum.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">zlib-enum-0.2.1: Enumerator interface for zlib compression</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">Codec.Zlib.Enum</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Enumeratees
</a></li><li><a href="#g:2">Re-exported from zlib-bindings
</a></li></ul></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:compress">compress</a> :: MonadIO m => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Codec-Zlib-Enum.html#t:WindowBits">WindowBits</a> -> <a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator-Internal.html#t:Enumeratee">Enumeratee</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> m a</li><li class="src short"><a href="#v:decompress">decompress</a> :: MonadIO m => <a href="Codec-Zlib-Enum.html#t:WindowBits">WindowBits</a> -> <a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator-Internal.html#t:Enumeratee">Enumeratee</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> m a</li><li class="src short"><a href="#v:gzip">gzip</a> :: MonadIO m => <a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator-Internal.html#t:Enumeratee">Enumeratee</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> m a</li><li class="src short"><a href="#v:ungzip">ungzip</a> :: MonadIO m => <a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator-Internal.html#t:Enumeratee">Enumeratee</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> m a</li><li class="src short"><span class="keyword">data</span> <a href="#t:WindowBits">WindowBits</a> = <a href="#v:WindowBits">WindowBits</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:defaultWindowBits">defaultWindowBits</a> :: <a href="Codec-Zlib-Enum.html#t:WindowBits">WindowBits</a></li></ul></div><div id="interface"><h1 id="g:1">Enumeratees
</h1><div class="top"><p class="src"><a name="v:compress" class="def">compress</a><a href="src/Codec-Zlib-Enum.html#compress" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: MonadIO m</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>Compression level
</p></td></tr><tr><td class="src">-> <a href="Codec-Zlib-Enum.html#t:WindowBits">WindowBits</a></td><td class="doc"><p>Zlib parameter (see the zlib-bindings package as well as the zlib C library)
</p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator-Internal.html#t:Enumeratee">Enumeratee</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> m a</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Compress (deflate) a stream of <code><a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a></code>s. The <code><a href="Codec-Zlib-Enum.html#t:WindowBits">WindowBits</a></code> also control
the format (zlib vs. gzip).
</p></div></div><div class="top"><p class="src"><a name="v:decompress" class="def">decompress</a><a href="src/Codec-Zlib-Enum.html#decompress" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: MonadIO m</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="Codec-Zlib-Enum.html#t:WindowBits">WindowBits</a></td><td class="doc"><p>Zlib parameter (see the zlib-bindings package as well as the zlib C library)
</p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator-Internal.html#t:Enumeratee">Enumeratee</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> m a</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Decompress (inflate) a stream of <code><a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a></code>s. For example:
</p><pre> run $ enumFile "test.z" $$ decompress defaultWindowBits $$ printChunks True
</pre></div></div><div class="top"><p class="src"><a name="v:gzip" class="def">gzip</a> :: MonadIO m => <a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator-Internal.html#t:Enumeratee">Enumeratee</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> m a<a href="src/Codec-Zlib-Enum.html#gzip" class="link">Source</a></p><div class="doc"><p>Gzip compression with default parameters.
</p></div></div><div class="top"><p class="src"><a name="v:ungzip" class="def">ungzip</a> :: MonadIO m => <a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator-Internal.html#t:Enumeratee">Enumeratee</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> m a<a href="src/Codec-Zlib-Enum.html#ungzip" class="link">Source</a></p><div class="doc"><p>Gzip decompression with default parameters.
</p></div></div><h1 id="g:2">Re-exported from zlib-bindings
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:WindowBits" class="def">WindowBits</a> </p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:WindowBits" class="def">WindowBits</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><a name="v:defaultWindowBits" class="def">defaultWindowBits</a> :: <a href="Codec-Zlib-Enum.html#t:WindowBits">WindowBits</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>
|