This file is indexed.

/usr/share/doc/libghc-hspec-attoparsec-doc/html/Test-Hspec-Attoparsec-Source.html is in libghc-hspec-attoparsec-doc 0.1.0.2-3build7.

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
<!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.Attoparsec.Source</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-Attoparsec-Source.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Test-Hspec-Attoparsec-Source.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-attoparsec-0.1.0.2: Utility functions for testing your attoparsec parsers with hspec</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) 2014 Alp Mestanogullari</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>alpmestan@gmail.com</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Test.Hspec.Attoparsec.Source</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A <code><a href="Test-Hspec-Attoparsec-Source.html#t:Source">Source</a></code> class that ties parser types and input types to
 give you a uniform interface for testing your parsers,
 without caring about the input type.</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">class</span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> string, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> string, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:IsString">IsString</a> string) =&gt; <a href="#t:Source">Source</a> parser string string' result | string -&gt; parser, string -&gt; result, string -&gt; string' <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><span class="keyword">class</span> <a href="#t:Leftover">Leftover</a> r s | r -&gt; s <span class="keyword">where</span><ul class="subs"></ul></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> string, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> string, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:IsString">IsString</a> string) =&gt; <a id="t:Source" class="def">Source</a> parser string string' result | string -&gt; parser, string -&gt; result, string -&gt; string' <span class="keyword">where</span> <a href="src/Test-Hspec-Attoparsec-Source.html#Source" class="link">Source</a> <a href="#t:Source" class="selflink">#</a></p><div class="doc"><p>A class where each instance will just teach
   how to get an Either or the specific result 
   type associated to the parser for the given
   input type.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Test-Hspec-Attoparsec-Source.html#v:-126--62-">(~&gt;)</a>, <a href="Test-Hspec-Attoparsec-Source.html#v:-126--63--62-">(~?&gt;)</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:-126--62-" class="def">(~&gt;)</a> :: string -&gt; parser string' a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> a <a href="src/Test-Hspec-Attoparsec-Source.html#~%3E" class="link">Source</a> <a href="#v:-126--62-" class="selflink">#</a></p><div class="doc"><p>Feed some input to a parser and extract the result
   as either a failure <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></code> or an actually parsed value.
   Can be read as <em>fed to</em>.</p><pre>-- &quot;&lt;a ...&gt;&quot; fed to an HTML parser 
&quot;&lt;a href=\&quot;/foo\&quot;&gt;Go to foo&lt;/a&gt;&quot; ~&gt; htmlParser :: Either String a</pre></div><p class="src"><a id="v:-126--63--62-" class="def">(~?&gt;)</a> :: string -&gt; parser string' a -&gt; result a <a href="src/Test-Hspec-Attoparsec-Source.html#~%3F%3E" class="link">Source</a> <a href="#v:-126--63--62-" class="selflink">#</a></p><div class="doc"><p>Feed some input to a parser and extract it as the
   appropriate result type from that module.</p><p>This is not currently useful in the library per se,
   but is used in test-suites directly where we generally only deal
   with one concrete set of parser, input and result types.
   This lets us inspect the result in any way we want, e.g
   in conjunction with <code>shouldSatisfy</code> or a custom hspec combinator.</p></div></div><div class="subs instances"><p id="control.i:Source" class="caption collapser" onclick="toggleSection('i:Source')">Instances</p><div id="section.i:Source" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Source:Source:1" class="instance expander" onclick="toggleSection('i:ic:Source:Source:1')"></span> <a href="Test-Hspec-Attoparsec-Source.html#t:Source">Source</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-ByteString-Lazy.html#t:Result">Result</a></span> <a href="src/Test-Hspec-Attoparsec-Source.html#line-62" class="link">Source</a> <a href="#t:Source" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Source:Source:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-126--62-">(~&gt;)</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> a <a href="src/Test-Hspec-Attoparsec-Source.html#~%3E" class="link">Source</a> <a href="#v:-126--62-" class="selflink">#</a></p><p class="src"><a href="#v:-126--63--62-">(~?&gt;)</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> a -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-ByteString-Lazy.html#t:Result">Result</a> a <a href="src/Test-Hspec-Attoparsec-Source.html#~%3F%3E" class="link">Source</a> <a href="#v:-126--63--62-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Source:Source:2" class="instance expander" onclick="toggleSection('i:ic:Source:Source:2')"></span> <a href="Test-Hspec-Attoparsec-Source.html#t:Source">Source</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-ByteString.html#t:Result">Result</a></span> <a href="src/Test-Hspec-Attoparsec-Source.html#line-57" class="link">Source</a> <a href="#t:Source" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Source:Source:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-126--62-">(~&gt;)</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> a <a href="src/Test-Hspec-Attoparsec-Source.html#~%3E" class="link">Source</a> <a href="#v:-126--62-" class="selflink">#</a></p><p class="src"><a href="#v:-126--63--62-">(~?&gt;)</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> a -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-ByteString.html#t:Result">Result</a> a <a href="src/Test-Hspec-Attoparsec-Source.html#~%3F%3E" class="link">Source</a> <a href="#v:-126--63--62-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Source:Source:3" class="instance expander" onclick="toggleSection('i:ic:Source:Source:3')"></span> <a href="Test-Hspec-Attoparsec-Source.html#t:Source">Source</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text-Lazy.html#t:Result">Result</a></span> <a href="src/Test-Hspec-Attoparsec-Source.html#line-72" class="link">Source</a> <a href="#t:Source" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Source:Source:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-126--62-">(~&gt;)</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> a <a href="src/Test-Hspec-Attoparsec-Source.html#~%3E" class="link">Source</a> <a href="#v:-126--62-" class="selflink">#</a></p><p class="src"><a href="#v:-126--63--62-">(~?&gt;)</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> a -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text-Lazy.html#t:Result">Result</a> a <a href="src/Test-Hspec-Attoparsec-Source.html#~%3F%3E" class="link">Source</a> <a href="#v:-126--63--62-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Source:Source:4" class="instance expander" onclick="toggleSection('i:ic:Source:Source:4')"></span> <a href="Test-Hspec-Attoparsec-Source.html#t:Source">Source</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Result">Result</a></span> <a href="src/Test-Hspec-Attoparsec-Source.html#line-67" class="link">Source</a> <a href="#t:Source" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Source:Source:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-126--62-">(~&gt;)</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> a <a href="src/Test-Hspec-Attoparsec-Source.html#~%3E" class="link">Source</a> <a href="#v:-126--62-" class="selflink">#</a></p><p class="src"><a href="#v:-126--63--62-">(~?&gt;)</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Internal-Types.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> a -&gt; <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Result">Result</a> a <a href="src/Test-Hspec-Attoparsec-Source.html#~%3F%3E" class="link">Source</a> <a href="#v:-126--63--62-" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:Leftover" class="def">Leftover</a> r s | r -&gt; s <span class="keyword">where</span> <a href="src/Test-Hspec-Attoparsec-Source.html#Leftover" class="link">Source</a> <a href="#t:Leftover" class="selflink">#</a></p><div class="doc"><p>Class for generically inspecting unconsumed input</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Test-Hspec-Attoparsec-Source.html#v:leftover">leftover</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:leftover" class="def">leftover</a> :: r a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> s <a href="src/Test-Hspec-Attoparsec-Source.html#leftover" class="link">Source</a> <a href="#v:leftover" class="selflink">#</a></p><div class="doc"><p>Get the unconsumed input from the result of a parser</p><p>Returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if the unconsumed input is &quot;&quot;</p></div></div><div class="subs instances"><p id="control.i:Leftover" class="caption collapser" onclick="toggleSection('i:Leftover')">Instances</p><div id="section.i:Leftover" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Leftover:Leftover:1" class="instance expander" onclick="toggleSection('i:ic:Leftover:Leftover:1')"></span> <a href="Test-Hspec-Attoparsec-Source.html#t:Leftover">Leftover</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-ByteString-Lazy.html#t:Result">Result</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></span> <a href="src/Test-Hspec-Attoparsec-Source.html#line-88" class="link">Source</a> <a href="#t:Leftover" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Leftover:Leftover:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:leftover">leftover</a> :: <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-ByteString-Lazy.html#t:Result">Result</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Test-Hspec-Attoparsec-Source.html#leftover" class="link">Source</a> <a href="#v:leftover" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Leftover:Leftover:2" class="instance expander" onclick="toggleSection('i:ic:Leftover:Leftover:2')"></span> <a href="Test-Hspec-Attoparsec-Source.html#t:Leftover">Leftover</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text-Lazy.html#t:Result">Result</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></span> <a href="src/Test-Hspec-Attoparsec-Source.html#line-96" class="link">Source</a> <a href="#t:Leftover" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Leftover:Leftover:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:leftover">leftover</a> :: <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text-Lazy.html#t:Result">Result</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Test-Hspec-Attoparsec-Source.html#leftover" class="link">Source</a> <a href="#v:leftover" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Leftover:Leftover:3" class="instance expander" onclick="toggleSection('i:ic:Leftover:Leftover:3')"></span> <a href="Test-Hspec-Attoparsec-Source.html#t:Leftover">Leftover</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Result">Result</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></span> <a href="src/Test-Hspec-Attoparsec-Source.html#line-92" class="link">Source</a> <a href="#t:Leftover" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Leftover:Leftover:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:leftover">leftover</a> :: <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Result">Result</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Test-Hspec-Attoparsec-Source.html#leftover" class="link">Source</a> <a href="#v:leftover" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Leftover:Leftover:4" class="instance expander" onclick="toggleSection('i:ic:Leftover:Leftover:4')"></span> <a href="Test-Hspec-Attoparsec-Source.html#t:Leftover">Leftover</a> <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-ByteString.html#t:Result">Result</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></span> <a href="src/Test-Hspec-Attoparsec-Source.html#line-84" class="link">Source</a> <a href="#t:Leftover" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Leftover:Leftover:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:leftover">leftover</a> :: <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-ByteString.html#t:Result">Result</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Test-Hspec-Attoparsec-Source.html#leftover" class="link">Source</a> <a href="#v:leftover" class="selflink">#</a></p></div></div></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.17.3</p></div></body></html>