This file is indexed.

/usr/share/doc/libghc-cmdargs-doc/html/System-Console-CmdArgs-Verbosity.html is in libghc-cmdargs-doc 0.9.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
<!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>System.Console.CmdArgs.Verbosity</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_System-Console-CmdArgs-Verbosity.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/System-Console-CmdArgs-Verbosity.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">cmdargs-0.9.2: Command line argument processing</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">System.Console.CmdArgs.Verbosity</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A module to deal with verbosity, how 'chatty' a program should be.
    This module defines the <code><a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a></code> data type, along with functions
    for manipulating a global verbosity value.
</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:Verbosity">Verbosity</a> <ul class="subs"><li>= <a href="#v:Quiet">Quiet</a>  </li><li>| <a href="#v:Normal">Normal</a>  </li><li>| <a href="#v:Loud">Loud</a>  </li></ul></li><li class="src short"><a href="#v:setVerbosity">setVerbosity</a> :: <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:getVerbosity">getVerbosity</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a></li><li class="src short"><a href="#v:isNormal">isNormal</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isLoud">isLoud</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:whenNormal">whenNormal</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:whenLoud">whenLoud</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Verbosity" class="def">Verbosity</a>  <a href="src/System-Console-CmdArgs-Verbosity.html#Verbosity" class="link">Source</a></p><div class="doc"><p>The verbosity data type
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Quiet" class="def">Quiet</a></td><td class="doc"><p>Only output essential messages (typically errors)
</p></td></tr><tr><td class="src"><a name="v:Normal" class="def">Normal</a></td><td class="doc"><p>Output normal messages (typically errors and warnings)
</p></td></tr><tr><td class="src"><a name="v:Loud" class="def">Loud</a></td><td class="doc"><p>Output lots of messages (typically errors, warnings and status updates)
</p></td></tr></table></div><div class="subs instances"><p id="control.i:Verbosity" class="caption collapser" onclick="toggleSection('i:Verbosity')">Instances</p><div id="section.i:Verbosity" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Bounded">Bounded</a> <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Enum">Enum</a> <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-Console-CmdArgs-Implicit.html#t:Data">Data</a> <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Ord.html#t:Ord">Ord</a> <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-Console-CmdArgs-Implicit.html#t:Typeable">Typeable</a> <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:setVerbosity" class="def">setVerbosity</a> :: <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/System-Console-CmdArgs-Verbosity.html#setVerbosity" class="link">Source</a></p><div class="doc"><p>Set the global verbosity.
</p></div></div><div class="top"><p class="src"><a name="v:getVerbosity" class="def">getVerbosity</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="System-Console-CmdArgs-Verbosity.html#t:Verbosity">Verbosity</a><a href="src/System-Console-CmdArgs-Verbosity.html#getVerbosity" class="link">Source</a></p><div class="doc"><p>Get the global verbosity. Initially <code>Normal</code> before any calls to <code><a href="System-Console-CmdArgs-Verbosity.html#v:setVerbosity">setVerbosity</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:isNormal" class="def">isNormal</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/System-Console-CmdArgs-Verbosity.html#isNormal" class="link">Source</a></p><div class="doc"><p>Used to test if warnings should be output to the user.
   <code>True</code> if the verbosity is set to <code><a href="System-Console-CmdArgs-Verbosity.html#v:Normal">Normal</a></code> or <code><a href="System-Console-CmdArgs-Verbosity.html#v:Loud">Loud</a></code> (when <code>--quiet</code> is <em>not</em> specified).
</p></div></div><div class="top"><p class="src"><a name="v:isLoud" class="def">isLoud</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/System-Console-CmdArgs-Verbosity.html#isLoud" class="link">Source</a></p><div class="doc"><p>Used to test if status updates should be output to the user.
   <code>True</code> if the verbosity is set to <code><a href="System-Console-CmdArgs-Verbosity.html#v:Loud">Loud</a></code> (when <code>--verbose</code> is specified).
</p></div></div><div class="top"><p class="src"><a name="v:whenNormal" class="def">whenNormal</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/System-Console-CmdArgs-Verbosity.html#whenNormal" class="link">Source</a></p><div class="doc"><p>An action to perform if the verbosity is normal or higher, based on <code><a href="System-Console-CmdArgs-Verbosity.html#v:isNormal">isNormal</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:whenLoud" class="def">whenLoud</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/System-Console-CmdArgs-Verbosity.html#whenLoud" class="link">Source</a></p><div class="doc"><p>An action to perform if the verbosity is loud, based on <code><a href="System-Console-CmdArgs-Verbosity.html#v:isLoud">isLoud</a></code>.
</p></div></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>