/usr/share/doc/libghc-attoparsec-enumerator-doc/html/Data-Attoparsec-Enumerator.html is in libghc-attoparsec-enumerator-doc 0.3.1-3build1.
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 | <!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.Attoparsec.Enumerator</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-Attoparsec-Enumerator.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Attoparsec-Enumerator.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">attoparsec-enumerator-0.3.1: Pass input from an enumerator to an Attoparsec parser.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Maintainer</th><td>jmillikin@gmail.com</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Data.Attoparsec.Enumerator</p></div><div id="description"><p class="caption">Description</p><div class="doc empty"> </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:ParseError">ParseError</a> = <a href="#v:ParseError">ParseError</a> {<ul class="subs"><li><a href="#v:errorContexts">errorContexts</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>]</li><li><a href="#v:errorMessage">errorMessage</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li></ul>}</li><li class="src short"><span class="keyword">class</span> <a href="#t:AttoparsecInput">AttoparsecInput</a> a </li><li class="src short"><a href="#v:iterParser">iterParser</a> :: (<a href="Data-Attoparsec-Enumerator.html#t:AttoparsecInput">AttoparsecInput</a> a, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m) => <a href="/usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Types.html#t:Parser">Parser</a> a b -> <a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator-Internal.html#t:Iteratee">Iteratee</a> a m b</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:ParseError" class="def">ParseError</a> <a href="src/Data-Attoparsec-Enumerator.html#ParseError" class="link">Source</a></p><div class="doc"><p>The context and message from a <code><a href="/usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Types.html#v:Fail">Fail</a></code> value.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ParseError" class="def">ParseError</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:errorContexts" class="def">errorContexts</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:errorMessage" class="def">errorMessage</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:ParseError" class="caption collapser" onclick="toggleSection('i:ParseError')">Instances</p><div id="section.i:ParseError" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Data-Attoparsec-Enumerator.html#t:ParseError">ParseError</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Data-Attoparsec-Enumerator.html#t:ParseError">ParseError</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Exception-Base.html#t:Exception">Exception</a> <a href="Data-Attoparsec-Enumerator.html#t:ParseError">ParseError</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:AttoparsecInput" class="def">AttoparsecInput</a> a <a href="src/Data-Attoparsec-Enumerator.html#AttoparsecInput" class="link">Source</a></p><div class="doc"><p>A class of types which may be consumed by an Attoparsec parser.
</p><p>Since: 0.3
</p></div><div class="subs instances"><p id="control.i:AttoparsecInput" class="caption collapser" onclick="toggleSection('i:AttoparsecInput')">Instances</p><div id="section.i:AttoparsecInput" class="show"><table><tr><td class="src"><a href="Data-Attoparsec-Enumerator.html#t:AttoparsecInput">AttoparsecInput</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Data-Attoparsec-Enumerator.html#t:AttoparsecInput">AttoparsecInput</a> Text</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:iterParser" class="def">iterParser</a> :: (<a href="Data-Attoparsec-Enumerator.html#t:AttoparsecInput">AttoparsecInput</a> a, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m) => <a href="/usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Types.html#t:Parser">Parser</a> a b -> <a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator-Internal.html#t:Iteratee">Iteratee</a> a m b<a href="src/Data-Attoparsec-Enumerator.html#iterParser" class="link">Source</a></p><div class="doc"><p>Convert an Attoparsec <code><a href="/usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Types.html#t:Parser">Parser</a></code> into an <code><a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator-Internal.html#t:Iteratee">Iteratee</a></code>. The parser will
be streamed bytes until it returns <code><a href="/usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Types.html#v:Done">Done</a></code> or <code><a href="/usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Types.html#v:Fail">Fail</a></code>.
</p><p>If parsing fails, a <code><a href="Data-Attoparsec-Enumerator.html#t:ParseError">ParseError</a></code> will be thrown with <code><a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator.html#v:throwError">throwError</a></code>. Use
<code><a href="/usr/share/doc/libghc-enumerator-doc/html/Data-Enumerator.html#v:catchError">catchError</a></code> to catch it.
</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>
|