This file is indexed.

/usr/share/doc/libghc-hspec-doc/html/Test-Hspec-Discover.html is in libghc-hspec-doc 2.4.4-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
<!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>Test.Hspec.Discover</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_Test-Hspec-Discover.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Test-Hspec-Discover.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">hspec-2.4.4: A Testing Framework for Haskell</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Test.Hspec.Discover</p></div><div id="description"><p class="caption">Description</p><div class="doc"><div class="warning"><p>Warning: This module is used by <code>hspec-discover</code>.  It is not part of the public API and may change at any time.</p></div></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">type</span> <a href="#t:Spec">Spec</a> = <a href="Test-Hspec.html#t:SpecWith">SpecWith</a> ()</li><li class="src short"><a href="#v:hspec">hspec</a> :: <a href="Test-Hspec-Discover.html#t:Spec">Spec</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><span class="keyword">class</span> <a href="#t:IsFormatter">IsFormatter</a> a <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><a href="#v:hspecWithFormatter">hspecWithFormatter</a> :: <a href="Test-Hspec-Discover.html#t:IsFormatter">IsFormatter</a> a =&gt; a -&gt; <a href="Test-Hspec-Discover.html#t:Spec">Spec</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:postProcessSpec">postProcessSpec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="Test-Hspec-Discover.html#t:Spec">Spec</a> -&gt; <a href="Test-Hspec-Discover.html#t:Spec">Spec</a></li><li class="src short"><a href="#v:describe">describe</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -&gt; <a href="Test-Hspec.html#t:SpecWith">SpecWith</a> a -&gt; <a href="Test-Hspec.html#t:SpecWith">SpecWith</a> a</li><li class="src short">module <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html">Prelude</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Spec" class="def">Spec</a> = <a href="Test-Hspec.html#t:SpecWith">SpecWith</a> () <a href="#t:Spec" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:hspec" class="def">hspec</a> :: <a href="Test-Hspec-Discover.html#t:Spec">Spec</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="#v:hspec" class="selflink">#</a></p><div class="doc"><p>Run given spec and write a report to <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-IO-Handle-FD.html#v:stdout">stdout</a></code>.
 Exit with <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-Exit.html#v:exitFailure">exitFailure</a></code> if at least one spec item fails.</p></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:IsFormatter" class="def">IsFormatter</a> a <span class="keyword">where</span> <a href="src/Test-Hspec-Discover.html#IsFormatter" class="link">Source</a> <a href="#t:IsFormatter" class="selflink">#</a></p><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Test-Hspec-Discover.html#v:toFormatter">toFormatter</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:toFormatter" class="def">toFormatter</a> :: a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/libghc-hspec-core-doc/html/Test-Hspec-Core-Formatters.html#t:Formatter">Formatter</a> <a href="src/Test-Hspec-Discover.html#toFormatter" class="link">Source</a> <a href="#v:toFormatter" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:IsFormatter" class="caption collapser" onclick="toggleSection('i:IsFormatter')">Instances</p><div id="section.i:IsFormatter" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:IsFormatter:IsFormatter:1" class="instance expander" onclick="toggleSection('i:ic:IsFormatter:IsFormatter:1')"></span> <a href="Test-Hspec-Discover.html#t:IsFormatter">IsFormatter</a> <a href="file:///usr/share/doc/libghc-hspec-core-doc/html/Test-Hspec-Core-Formatters.html#t:Formatter">Formatter</a></span> <a href="src/Test-Hspec-Discover.html#line-32" class="link">Source</a> <a href="#t:IsFormatter" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:IsFormatter:IsFormatter:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toFormatter">toFormatter</a> :: <a href="file:///usr/share/doc/libghc-hspec-core-doc/html/Test-Hspec-Core-Formatters.html#t:Formatter">Formatter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/libghc-hspec-core-doc/html/Test-Hspec-Core-Formatters.html#t:Formatter">Formatter</a> <a href="src/Test-Hspec-Discover.html#toFormatter" class="link">Source</a> <a href="#v:toFormatter" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:IsFormatter:IsFormatter:2" class="instance expander" onclick="toggleSection('i:ic:IsFormatter:IsFormatter:2')"></span> <a href="Test-Hspec-Discover.html#t:IsFormatter">IsFormatter</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/libghc-hspec-core-doc/html/Test-Hspec-Core-Formatters.html#t:Formatter">Formatter</a>)</span> <a href="src/Test-Hspec-Discover.html#line-29" class="link">Source</a> <a href="#t:IsFormatter" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:IsFormatter:IsFormatter:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toFormatter">toFormatter</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/libghc-hspec-core-doc/html/Test-Hspec-Core-Formatters.html#t:Formatter">Formatter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/libghc-hspec-core-doc/html/Test-Hspec-Core-Formatters.html#t:Formatter">Formatter</a> <a href="src/Test-Hspec-Discover.html#toFormatter" class="link">Source</a> <a href="#v:toFormatter" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:hspecWithFormatter" class="def">hspecWithFormatter</a> :: <a href="Test-Hspec-Discover.html#t:IsFormatter">IsFormatter</a> a =&gt; a -&gt; <a href="Test-Hspec-Discover.html#t:Spec">Spec</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Test-Hspec-Discover.html#hspecWithFormatter" class="link">Source</a> <a href="#v:hspecWithFormatter" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:postProcessSpec" class="def">postProcessSpec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="Test-Hspec-Discover.html#t:Spec">Spec</a> -&gt; <a href="Test-Hspec-Discover.html#t:Spec">Spec</a> <a href="src/Test-Hspec-Discover.html#postProcessSpec" class="link">Source</a> <a href="#v:postProcessSpec" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:describe" class="def">describe</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -&gt; <a href="Test-Hspec.html#t:SpecWith">SpecWith</a> a -&gt; <a href="Test-Hspec.html#t:SpecWith">SpecWith</a> a <a href="#v:describe" class="selflink">#</a></p><div class="doc"><p>The <code>describe</code> function combines a list of specs into a larger spec.</p></div></div><div class="top"><p class="src">module <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html">Prelude</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>