This file is indexed.

/usr/share/doc/libghc-polyparse-doc/html/Text-ParserCombinators-Poly-Result.html is in libghc-polyparse-doc 1.7-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
<!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>Text.ParserCombinators.Poly.Result</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_Text-ParserCombinators-Poly-Result.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-ParserCombinators-Poly-Result.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">polyparse-1.7: A variety of alternative parser combinator libraries.</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">Text.ParserCombinators.Poly.Result</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">The parsing result type
</a></li></ul></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:Result">Result</a> z a<ul class="subs"><li>= <a href="#v:Success">Success</a> z a  </li><li>| <a href="#v:Failure">Failure</a> z <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>  </li><li>| <a href="#v:Committed">Committed</a> (<a href="Text-ParserCombinators-Poly-Result.html#t:Result">Result</a> z a)  </li></ul></li><li class="src short"><a href="#v:resultToEither">resultToEither</a> ::  <a href="Text-ParserCombinators-Poly-Result.html#t:Result">Result</a> z a -&gt; (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Either.html#t:Either">Either</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> a, z)</li></ul></div><div id="interface"><h1 id="g:1">The parsing result type
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Result" class="def">Result</a> z a <a href="src/Text-ParserCombinators-Poly-Result.html#Result" class="link">Source</a></p><div class="doc"><p>A return type like Either, that distinguishes not only between
   right and wrong answers, but also has commitment, so that a failure
   cannot be undone.  This should only be used for writing very primitive
   parsers - really it is an internal detail of the library.
   The z type is the remaining unconsumed input.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Success" class="def">Success</a> z a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Failure" class="def">Failure</a> z <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 empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Committed" class="def">Committed</a> (<a href="Text-ParserCombinators-Poly-Result.html#t:Result">Result</a> z a)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Result" class="caption collapser" onclick="toggleSection('i:Result')">Instances</p><div id="section.i:Result" 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:Functor">Functor</a> (<a href="Text-ParserCombinators-Poly-Result.html#t:Result">Result</a> z)</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:resultToEither" class="def">resultToEither</a> ::  <a href="Text-ParserCombinators-Poly-Result.html#t:Result">Result</a> z a -&gt; (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Either.html#t:Either">Either</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> a, z)<a href="src/Text-ParserCombinators-Poly-Result.html#resultToEither" class="link">Source</a></p><div class="doc"><p>Convert a Result to an Either, paired with the remaining unconsumed input.
</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>