This file is indexed.

/usr/share/doc/libghc-file-location-doc/html/index.html is in libghc-file-location-doc 0.4.5.2-1.

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
<!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>file-location-0.4.5.2: common functions that show file location information</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();};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">file-location-0.4.5.2: common functions that show file location information</p></div><div id="content"><div id="description"><h1>file-location-0.4.5.2: common functions that show file location information</h1><div class="doc"><p>Common debugging/error/exception functions that give file location information
</p><pre>
$(err &quot;OH NO!&quot;)
main:Main main.hs:16:1 OH NO!
</pre><p>Notice how it displays package:module file:line:character
</p><p>It exposes the functions err (error), undef (undefined), and trc (Debug.Trace.trace). All of these behave the same as their normal counterpart but also spit out a location.
</p><p>Here is my favorite helper, debug, which is like trace but just show the value.
</p><pre>
debug [1,2,3]
DEBUG: [1,2,3]
[1,2,3]
</pre><p>And The Template Haskell version.
</p><pre>
$(dbg) [1,2,3]
DEBUG main:Main main.hs:1:3 [1,2,3]
[1,2,3]
</pre><p>Also there is a version of thrwIO that gives location information
</p><pre>
($(thrwIO) $ AException) <code>catch</code> e -&gt; putStrLn (&quot;Caught &quot; ++ show (e :: AException))
Caught AException &quot;main:Main test/main.hs:25:6&quot;
</pre><p>See module for a listing of all the functions with short descriptions, and the homepage for some more examples https:<em></em>github.com<em>gregwebs</em>ErrorLocation.hs
</p></div></div><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">Control</span><ul id="section.n.1" class="show"><li><span id="control.n.1.1" class="module collapser" onclick="toggleSection('n.1.1')">Exception</span><ul id="section.n.1.1" class="show"><li><span class="module"><a href="Control-Exception-FileLocation.html">Control.Exception.FileLocation</a></span></li></ul></li></ul></li><li><span id="control.n.2" class="module collapser" onclick="toggleSection('n.2')">Debug</span><ul id="section.n.2" class="show"><li><span class="module"><a href="Debug-FileLocation.html">Debug.FileLocation</a></span></li><li><span class="module"><a href="Debug-Util.html">Debug.Util</a></span></li></ul></li><li><span class="module"><span id="control.n.3" class="collapser" onclick="toggleSection('n.3')">&nbsp;</span><a href="FileLocation.html">FileLocation</a></span><ul id="section.n.3" class="show"><li><span class="module"><a href="FileLocation-LocationString.html">FileLocation.LocationString</a></span></li></ul></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>