This file is indexed.

/usr/share/doc/libghc-haskell-src-doc/html/Language-Haskell-Parser.html is in libghc-haskell-src-doc 1.0.1.5-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
<!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>Language.Haskell.Parser</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_Language-Haskell-Parser.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Language-Haskell-Parser.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">haskell-src-1.0.1.5: Support for manipulating Haskell source code</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>libraries@haskell.org</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Language.Haskell.Parser</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Haskell parser.
</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"><a href="#v:parseModule">parseModule</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Language-Haskell-Parser.html#t:ParseResult">ParseResult</a> <a href="Language-Haskell-Syntax.html#t:HsModule">HsModule</a></li><li class="src short"><a href="#v:parseModuleWithMode">parseModuleWithMode</a> :: <a href="Language-Haskell-Parser.html#t:ParseMode">ParseMode</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Language-Haskell-Parser.html#t:ParseResult">ParseResult</a> <a href="Language-Haskell-Syntax.html#t:HsModule">HsModule</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:ParseMode">ParseMode</a>  = <a href="#v:ParseMode">ParseMode</a> {<ul class="subs"><li><a href="#v:parseFilename">parseFilename</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li></ul>}</li><li class="src short"><a href="#v:defaultParseMode">defaultParseMode</a> :: <a href="Language-Haskell-Parser.html#t:ParseMode">ParseMode</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:ParseResult">ParseResult</a> a<ul class="subs"><li>= <a href="#v:ParseOk">ParseOk</a> a  </li><li>| <a href="#v:ParseFailed">ParseFailed</a> <a href="Language-Haskell-Syntax.html#t:SrcLoc">SrcLoc</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>  </li></ul></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:parseModule" class="def">parseModule</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Language-Haskell-Parser.html#t:ParseResult">ParseResult</a> <a href="Language-Haskell-Syntax.html#t:HsModule">HsModule</a><a href="src/Language-Haskell-Parser.html#parseModule" class="link">Source</a></p><div class="doc"><p>Parse of a string, which should contain a complete Haskell 98 module.
</p></div></div><div class="top"><p class="src"><a name="v:parseModuleWithMode" class="def">parseModuleWithMode</a> :: <a href="Language-Haskell-Parser.html#t:ParseMode">ParseMode</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Language-Haskell-Parser.html#t:ParseResult">ParseResult</a> <a href="Language-Haskell-Syntax.html#t:HsModule">HsModule</a><a href="src/Language-Haskell-Parser.html#parseModuleWithMode" class="link">Source</a></p><div class="doc"><p>Parse of a string, which should contain a complete Haskell 98 module.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:ParseMode" class="def">ParseMode</a>  <a href="src/Language-Haskell-ParseMonad.html#ParseMode" class="link">Source</a></p><div class="doc"><p>Static parameters governing a parse.
 More to come later, e.g. literate mode, language extensions.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ParseMode" class="def">ParseMode</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:parseFilename" class="def">parseFilename</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></dt><dd class="doc"><p>original name of the file being parsed
</p></dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><a name="v:defaultParseMode" class="def">defaultParseMode</a> :: <a href="Language-Haskell-Parser.html#t:ParseMode">ParseMode</a><a href="src/Language-Haskell-ParseMonad.html#defaultParseMode" class="link">Source</a></p><div class="doc"><p>Default parameters for a parse,
 currently just a marker for an unknown filename.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:ParseResult" class="def">ParseResult</a> a <a href="src/Language-Haskell-ParseMonad.html#ParseResult" class="link">Source</a></p><div class="doc"><p>The result of a parse.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ParseOk" class="def">ParseOk</a> a</td><td class="doc"><p>The parse succeeded, yielding a value.
</p></td></tr><tr><td class="src"><a name="v:ParseFailed" class="def">ParseFailed</a> <a href="Language-Haskell-Syntax.html#t:SrcLoc">SrcLoc</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The parse failed at the specified
 source location, with an error message.
</p></td></tr></table></div><div class="subs instances"><p id="control.i:ParseResult" class="caption collapser" onclick="toggleSection('i:ParseResult')">Instances</p><div id="section.i:ParseResult" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Monad">Monad</a> <a href="Language-Haskell-Parser.html#t:ParseResult">ParseResult</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/Control-Monad.html#t:Functor">Functor</a> <a href="Language-Haskell-Parser.html#t:ParseResult">ParseResult</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/Control-Applicative.html#t:Applicative">Applicative</a> <a href="Language-Haskell-Parser.html#t:ParseResult">ParseResult</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 =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> (<a href="Language-Haskell-Parser.html#t:ParseResult">ParseResult</a> 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-Monoid.html#t:Monoid">Monoid</a> m =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Monoid.html#t:Monoid">Monoid</a> (<a href="Language-Haskell-Parser.html#t:ParseResult">ParseResult</a> m)</td><td class="doc empty">&nbsp;</td></tr></table></div></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>