This file is indexed.

/usr/share/doc/libghc-utility-ht-doc/html/Data-Bool-HT.html is in libghc-utility-ht-doc 0.0.10-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
<!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.HT</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_Data-Bool-HT.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Bool-HT.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">utility-ht-0.0.10: Various small helper functions for Lists, Maybes, Tuples, Functions</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr></table><p class="caption">Data.Bool.HT</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:if-39-">if'</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; a -&gt; a</li><li class="src short"><a href="#v:ifThenElse">ifThenElse</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; a -&gt; a</li><li class="src short"><a href="#v:select">select</a> ::  a -&gt; [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>, a)] -&gt; a</li><li class="src short"><a href="#v:-63-:">(?:)</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; (a, a) -&gt; a</li><li class="src short"><a href="#v:implies">implies</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:if-39-" class="def">if'</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; a -&gt; a<a href="src/Data-Bool-HT-Private.html#if%27" class="link">Source</a></p><div class="doc"><p><code>if-then-else</code> as function.
</p><p>Example:
</p><pre> if' (even n) &quot;even&quot; $
 if' (isPrime n) &quot;prime&quot; $
 &quot;boring&quot;
</pre></div></div><div class="top"><p class="src"><a name="v:ifThenElse" class="def">ifThenElse</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; a -&gt; a<a href="src/Data-Bool-HT-Private.html#ifThenElse" class="link">Source</a></p><div class="doc"><p>The same as <code><a href="Data-Bool-HT.html#v:if-39-">if'</a></code>, but the name is chosen
such that it can be used for GHC-7.0's rebindable if-then-else syntax.
</p></div></div><div class="top"><p class="src"><a name="v:select" class="def">select</a> ::  a -&gt; [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>, a)] -&gt; a<a href="src/Data-Bool-HT-Private.html#select" class="link">Source</a></p><div class="doc"><p>From a list of expressions choose the one,
whose condition is true.
</p><p>Example:
</p><pre> select &quot;boring&quot; $
   (even n, &quot;even&quot;) :
   (isPrime n, &quot;prime&quot;) :
   []
</pre></div></div><div class="top"><p class="src"><a name="v:-63-:" class="def">(?:)</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; (a, a) -&gt; a<a href="src/Data-Bool-HT-Private.html#%3F%3A" class="link">Source</a></p><div class="doc"><p>Like the <code>?</code> operator of the C progamming language.
Example: <code>bool ?: (<a href="yes.html">yes</a>, <a href="no.html">no</a>)</code>.
</p></div></div><div class="top"><p class="src"><a name="v:implies" class="def">implies</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a><a href="src/Data-Bool-HT-Private.html#implies" class="link">Source</a></p><div class="doc"><p>Logical operator for implication.
</p><p>Funnily because of the ordering of <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></code> it holds <code>implies == (&lt;=)</code>.
</p></div></div></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>