This file is indexed.

/usr/share/doc/libghc-base-compat-doc/html/Data-Bool-Compat.html is in libghc-base-compat-doc 0.9.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
18
<!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.Bool.Compat</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-Bool-Compat.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Bool-Compat.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">base-compat-0.9.1: A compatibility layer for base</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Data.Bool.Compat</p></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:bool">bool</a> :: a -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:bool" class="def">bool</a> :: a -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a <a href="#v:bool" class="selflink">#</a></p><div class="doc"><p>Case analysis for the <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></code> type. <code><code><a href="Data-Bool-Compat.html#v:bool">bool</a></code> x y p</code> evaluates to <code>x</code>
 when <code>p</code> is <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a></code>, and evaluates to <code>y</code> when <code>p</code> is <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code>.</p><p>This is equivalent to <code>if p then y else x</code>; that is, one can
 think of it as an if-then-else construct with its arguments
 reordered.</p><h4 id="control.ch:bool0" class="caption expander" onclick="toggleSection('ch:bool0')">Examples</h4><div id="section.ch:bool0" class="hide"><p>Basic usage:</p><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>bool &quot;foo&quot; &quot;bar&quot; True
</code></strong>&quot;bar&quot;
<code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>bool &quot;foo&quot; &quot;bar&quot; False
</code></strong>&quot;foo&quot;
</pre><p>Confirm that <code><code><a href="Data-Bool-Compat.html#v:bool">bool</a></code> x y p</code> and <code>if p then y else x</code> are
 equivalent:</p><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>let p = True; x = &quot;bar&quot;; y = &quot;foo&quot;
</code></strong><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>bool x y p == if p then y else x
</code></strong>True
<code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>let p = False
</code></strong><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>bool x y p == if p then y else x
</code></strong>True
</pre></div><p><em>Since: 4.7.0.0</em></p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>