This file is indexed.

/usr/share/doc/libghc-bencode-doc/html/Data-BEncode.html is in libghc-bencode-doc 0.6.0.0-4build2.

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
<!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>Data.BEncode</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Data-BEncode.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-BEncode.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">bencode-0.6.0.0: Parser and printer for bencoded data.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) 2005 Jesper Louis Andersen &lt;jlouis@mongers.org&gt;<br />2006 Lemmih &lt;lemmih@gmail.com&gt;</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>lemmih@gmail.com</td></tr><tr><th>Stability</th><td>believed to be stable</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Data.BEncode</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Data types</a></li><li><a href="#g:2">Functions</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Provides a BEncode data type is well as functions for converting this
 data type to and from a String.</p><p>Also supplies a number of properties which the module must satisfy.</p></div></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"><span class="keyword">data</span> <a href="#t:BEncode">BEncode</a><ul class="subs"><li>= <a href="#v:BInt">BInt</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a></li><li>| <a href="#v:BString">BString</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></li><li>| <a href="#v:BList">BList</a> [<a href="Data-BEncode.html#t:BEncode">BEncode</a>]</li><li>| <a href="#v:BDict">BDict</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Map-Lazy.html#t:Map">Map</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="Data-BEncode.html#t:BEncode">BEncode</a>)</li></ul></li><li class="src short"><a href="#v:bRead">bRead</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Data-BEncode.html#t:BEncode">BEncode</a></li><li class="src short"><a href="#v:bShow">bShow</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a></li><li class="src short"><a href="#v:bPack">bPack</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></li></ul></div><div id="interface"><h1 id="g:1">Data types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:BEncode" class="def">BEncode</a> <a href="src/Data-BEncode.html#BEncode" class="link">Source</a> <a href="#t:BEncode" class="selflink">#</a></p><div class="doc"><p>The B-coding defines an abstract syntax tree given as a simple
     data type here</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:BInt" class="def">BInt</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:BString" class="def">BString</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:BList" class="def">BList</a> [<a href="Data-BEncode.html#t:BEncode">BEncode</a>]</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:BDict" class="def">BDict</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Map-Lazy.html#t:Map">Map</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="Data-BEncode.html#t:BEncode">BEncode</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:BEncode" class="caption collapser" onclick="toggleSection('i:BEncode')">Instances</p><div id="section.i:BEncode" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:BEncode:Eq:1" class="instance expander" onclick="toggleSection('i:id:BEncode:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Data-BEncode.html#t:BEncode">BEncode</a></span> <a href="src/Data-BEncode.html#line-47" class="link">Source</a> <a href="#t:BEncode" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:BEncode:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:BEncode:Ord:2" class="instance expander" onclick="toggleSection('i:id:BEncode:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Data-BEncode.html#t:BEncode">BEncode</a></span> <a href="src/Data-BEncode.html#line-47" class="link">Source</a> <a href="#t:BEncode" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:BEncode:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(&lt;)</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(&lt;=)</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(&gt;)</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(&gt;=)</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:BEncode:Show:3" class="instance expander" onclick="toggleSection('i:id:BEncode:Show:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Data-BEncode.html#t:BEncode">BEncode</a></span> <a href="src/Data-BEncode.html#line-47" class="link">Source</a> <a href="#t:BEncode" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:BEncode:Show:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Data-BEncode.html#t:BEncode">BEncode</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:BEncode:Binary:4" class="instance expander" onclick="toggleSection('i:id:BEncode:Binary:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary.html#t:Binary">Binary</a> <a href="Data-BEncode.html#t:BEncode">BEncode</a></span> <a href="src/Data-BEncode.html#line-49" class="link">Source</a> <a href="#t:BEncode" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:BEncode:Binary:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:put">put</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:put" class="selflink">#</a></p><p class="src"><a href="#v:get">get</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Get-Internal.html#t:Get">Get</a> <a href="Data-BEncode.html#t:BEncode">BEncode</a> <a href="#v:get" class="selflink">#</a></p><p class="src"><a href="#v:putList">putList</a> :: [<a href="Data-BEncode.html#t:BEncode">BEncode</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:putList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><h1 id="g:2">Functions</h1><div class="top"><p class="src"><a id="v:bRead" class="def">bRead</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Data-BEncode.html#t:BEncode">BEncode</a> <a href="src/Data-BEncode.html#bRead" class="link">Source</a> <a href="#v:bRead" class="selflink">#</a></p><div class="doc"><p>bRead is a conversion routine. It assumes a B-coded string as input
     and attempts a parse of it into a BEncode data type</p></div></div><div class="top"><p class="src"><a id="v:bShow" class="def">bShow</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-BEncode.html#bShow" class="link">Source</a> <a href="#v:bShow" class="selflink">#</a></p><div class="doc"><p>Render a BEncode structure to a B-coded string</p></div></div><div class="top"><p class="src"><a id="v:bPack" class="def">bPack</a> :: <a href="Data-BEncode.html#t:BEncode">BEncode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-BEncode.html#bPack" class="link">Source</a> <a href="#v:bPack" class="selflink">#</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>