This file is indexed.

/usr/share/doc/libghc-trifecta-doc/html/Text-Trifecta-Result.html is in libghc-trifecta-doc 1.6-2.

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>Text.Trifecta.Result</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_Text-Trifecta-Result.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-Trifecta-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">trifecta-1.6: A modern parser combinator library with convenient diagnostics</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) Edward Kmett 2011-2015</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>ekmett@gmail.com</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>non-portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Text.Trifecta.Result</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Parse Results</a></li><li><a href="#g:2">Parsing Errors</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Results and Parse Errors</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">data</span> <a href="#t:Result">Result</a> a<ul class="subs"><li>= <a href="#v:Success">Success</a> a</li><li>| <a href="#v:Failure">Failure</a> <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a></li></ul></li><li class="src short"><span class="keyword">class</span> <a href="#t:AsResult">AsResult</a> s t a b | s -&gt; a, t -&gt; b, s b -&gt; t, t a -&gt; s <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><a href="#v:_Success">_Success</a> :: <a href="Text-Trifecta-Result.html#t:AsResult">AsResult</a> s t a b =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism">Prism</a> s t a b</li><li class="src short"><a href="#v:_Failure">_Failure</a> :: <a href="Text-Trifecta-Result.html#t:AsResult">AsResult</a> s s a a =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism-39-">Prism'</a> s <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Err">Err</a> = <a href="#v:Err">Err</a> {<ul class="subs"><li><a href="#v:_reason">_reason</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></li><li><a href="#v:_footnotes">_footnotes</a> :: [<a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>]</li><li><a href="#v:_expected">_expected</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Set.html#t:Set">Set</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li><a href="#v:_finalDeltas">_finalDeltas</a> :: [<a href="Text-Trifecta-Delta.html#t:Delta">Delta</a>]</li></ul>}</li><li class="src short"><span class="keyword">class</span> <a href="#t:HasErr">HasErr</a> c <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><span class="keyword">class</span> <a href="#t:Errable">Errable</a> m <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:ErrInfo">ErrInfo</a> = <a href="#v:ErrInfo">ErrInfo</a> {<ul class="subs"><li><a href="#v:_errDoc">_errDoc</a> :: <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></li><li><a href="#v:_errDeltas">_errDeltas</a> :: [<a href="Text-Trifecta-Delta.html#t:Delta">Delta</a>]</li></ul>}</li><li class="src short"><a href="#v:explain">explain</a> :: <a href="Text-Trifecta-Rendering.html#t:Rendering">Rendering</a> -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a> -&gt; <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></li><li class="src short"><a href="#v:failed">failed</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a></li></ul></div><div id="interface"><h1 id="g:1">Parse Results</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Result" class="def">Result</a> a <a href="src/Text-Trifecta-Result.html#Result" class="link">Source</a> <a href="#t:Result" class="selflink">#</a></p><div class="doc"><p>The result of parsing. Either we succeeded or something went wrong.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Success" class="def">Success</a> a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:Failure" class="def">Failure</a> <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</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 clearfix"><span class="inst-left"><span id="control.i:id:Result:Functor:1" class="instance expander" onclick="toggleSection('i:id:Result:Functor:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> <a href="Text-Trifecta-Result.html#t:Result">Result</a></span> <a href="src/Text-Trifecta-Result.html#line-109" class="link">Source</a> <a href="#t:Result" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Result:Functor:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fmap">fmap</a> :: (a -&gt; b) -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> b <a href="#v:fmap" class="selflink">#</a></p><p class="src"><a href="#v:-60--36-">(&lt;$)</a> :: a -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> b -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a <a href="#v:-60--36-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Result:Applicative:2" class="instance expander" onclick="toggleSection('i:id:Result:Applicative:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Applicative.html#t:Applicative">Applicative</a> <a href="Text-Trifecta-Result.html#t:Result">Result</a></span> <a href="src/Text-Trifecta-Result.html#line-137" class="link">Source</a> <a href="#t:Result" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Result:Applicative:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pure">pure</a> :: a -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a <a href="#v:pure" class="selflink">#</a></p><p class="src"><a href="#v:-60--42--62-">(&lt;*&gt;)</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> (a -&gt; b) -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> b <a href="#v:-60--42--62-" class="selflink">#</a></p><p class="src"><a href="#v:-42--62-">(*&gt;)</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> b -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> b <a href="#v:-42--62-" class="selflink">#</a></p><p class="src"><a href="#v:-60--42-">(&lt;*)</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> b -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a <a href="#v:-60--42-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Result:Foldable:3" class="instance expander" onclick="toggleSection('i:id:Result:Foldable:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Foldable.html#t:Foldable">Foldable</a> <a href="Text-Trifecta-Result.html#t:Result">Result</a></span> <a href="src/Text-Trifecta-Result.html#line-109" class="link">Source</a> <a href="#t:Result" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Result:Foldable:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fold">fold</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> m =&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> m -&gt; m <a href="#v:fold" class="selflink">#</a></p><p class="src"><a href="#v:foldMap">foldMap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> m =&gt; (a -&gt; m) -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; m <a href="#v:foldMap" class="selflink">#</a></p><p class="src"><a href="#v:foldr">foldr</a> :: (a -&gt; b -&gt; b) -&gt; b -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; b <a href="#v:foldr" class="selflink">#</a></p><p class="src"><a href="#v:foldr-39-">foldr'</a> :: (a -&gt; b -&gt; b) -&gt; b -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; b <a href="#v:foldr-39-" class="selflink">#</a></p><p class="src"><a href="#v:foldl">foldl</a> :: (b -&gt; a -&gt; b) -&gt; b -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; b <a href="#v:foldl" class="selflink">#</a></p><p class="src"><a href="#v:foldl-39-">foldl'</a> :: (b -&gt; a -&gt; b) -&gt; b -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; b <a href="#v:foldl-39-" class="selflink">#</a></p><p class="src"><a href="#v:foldr1">foldr1</a> :: (a -&gt; a -&gt; a) -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; a <a href="#v:foldr1" class="selflink">#</a></p><p class="src"><a href="#v:foldl1">foldl1</a> :: (a -&gt; a -&gt; a) -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; a <a href="#v:foldl1" class="selflink">#</a></p><p class="src"><a href="#v:toList">toList</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; [a] <a href="#v:toList" class="selflink">#</a></p><p class="src"><a href="#v:null">null</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:null" class="selflink">#</a></p><p class="src"><a href="#v:length">length</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:length" class="selflink">#</a></p><p class="src"><a href="#v:elem">elem</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> a =&gt; a -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:elem" class="selflink">#</a></p><p class="src"><a href="#v:maximum">maximum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> a =&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; a <a href="#v:maximum" class="selflink">#</a></p><p class="src"><a href="#v:minimum">minimum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> a =&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; a <a href="#v:minimum" class="selflink">#</a></p><p class="src"><a href="#v:sum">sum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Num">Num</a> a =&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; a <a href="#v:sum" class="selflink">#</a></p><p class="src"><a href="#v:product">product</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Num">Num</a> a =&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; a <a href="#v:product" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Result:Traversable:4" class="instance expander" onclick="toggleSection('i:id:Result:Traversable:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Traversable.html#t:Traversable">Traversable</a> <a href="Text-Trifecta-Result.html#t:Result">Result</a></span> <a href="src/Text-Trifecta-Result.html#line-109" class="link">Source</a> <a href="#t:Result" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Result:Traversable:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:traverse">traverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Applicative.html#t:Applicative">Applicative</a> f =&gt; (a -&gt; f b) -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; f (<a href="Text-Trifecta-Result.html#t:Result">Result</a> b) <a href="#v:traverse" class="selflink">#</a></p><p class="src"><a href="#v:sequenceA">sequenceA</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Applicative.html#t:Applicative">Applicative</a> f =&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> (f a) -&gt; f (<a href="Text-Trifecta-Result.html#t:Result">Result</a> a) <a href="#v:sequenceA" class="selflink">#</a></p><p class="src"><a href="#v:mapM">mapM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (a -&gt; m b) -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; m (<a href="Text-Trifecta-Result.html#t:Result">Result</a> b) <a href="#v:mapM" class="selflink">#</a></p><p class="src"><a href="#v:sequence">sequence</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> (m a) -&gt; m (<a href="Text-Trifecta-Result.html#t:Result">Result</a> a) <a href="#v:sequence" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Result:Alternative:5" class="instance expander" onclick="toggleSection('i:id:Result:Alternative:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Applicative.html#t:Alternative">Alternative</a> <a href="Text-Trifecta-Result.html#t:Result">Result</a></span> <a href="src/Text-Trifecta-Result.html#line-147" class="link">Source</a> <a href="#t:Result" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Result:Alternative:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:empty">empty</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> a <a href="#v:empty" class="selflink">#</a></p><p class="src"><a href="#v:-60--124--62-">(&lt;|&gt;)</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a <a href="#v:-60--124--62-" class="selflink">#</a></p><p class="src"><a href="#v:some">some</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> [a] <a href="#v:some" class="selflink">#</a></p><p class="src"><a href="#v:many">many</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> [a] <a href="#v:many" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Result:Show:6" class="instance expander" onclick="toggleSection('i:id:Result:Show:6')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> (<a href="Text-Trifecta-Result.html#t:Result">Result</a> a)</span> <a href="src/Text-Trifecta-Result.html#line-109" class="link">Source</a> <a href="#t:Result" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Result:Show:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Trifecta-Result.html#t:Result">Result</a> a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Result:Pretty:7" class="instance expander" onclick="toggleSection('i:id:Result:Pretty:7')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> a =&gt; <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Pretty">Pretty</a> (<a href="Text-Trifecta-Result.html#t:Result">Result</a> a)</span> <a href="src/Text-Trifecta-Result.html#line-133" class="link">Source</a> <a href="#t:Result" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Result:Pretty:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pretty">pretty</a> :: <a href="Text-Trifecta-Result.html#t:Result">Result</a> a -&gt; <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> <a href="#v:pretty" class="selflink">#</a></p><p class="src"><a href="#v:prettyList">prettyList</a> :: [<a href="Text-Trifecta-Result.html#t:Result">Result</a> a] -&gt; <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> <a href="#v:prettyList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Result:AsResult:8" class="instance expander" onclick="toggleSection('i:id:Result:AsResult:8')"></span> <a href="Text-Trifecta-Result.html#t:AsResult">AsResult</a> (<a href="Text-Trifecta-Result.html#t:Result">Result</a> a) (<a href="Text-Trifecta-Result.html#t:Result">Result</a> b) a b</span> <a href="src/Text-Trifecta-Result.html#line-115" class="link">Source</a> <a href="#t:Result" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Result:AsResult:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:_Result">_Result</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism">Prism</a> (<a href="Text-Trifecta-Result.html#t:Result">Result</a> a) (<a href="Text-Trifecta-Result.html#t:Result">Result</a> b) (<a href="Text-Trifecta-Result.html#t:Result">Result</a> a) (<a href="Text-Trifecta-Result.html#t:Result">Result</a> b) <a href="src/Text-Trifecta-Result.html#_Result" class="link">Source</a> <a href="#v:_Result" 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:AsResult" class="def">AsResult</a> s t a b | s -&gt; a, t -&gt; b, s b -&gt; t, t a -&gt; s <span class="keyword">where</span> <a href="src/Text-Trifecta-Result.html#AsResult" class="link">Source</a> <a href="#t:AsResult" class="selflink">#</a></p><div class="doc"><p>A <code><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism">Prism</a></code> that lets you embed or retrieve a <code><a href="Text-Trifecta-Result.html#t:Result">Result</a></code> in a potentially larger type.</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:_Result" class="def">_Result</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism">Prism</a> s t (<a href="Text-Trifecta-Result.html#t:Result">Result</a> a) (<a href="Text-Trifecta-Result.html#t:Result">Result</a> b) <a href="src/Text-Trifecta-Result.html#_Result" class="link">Source</a> <a href="#v:_Result" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:AsResult" class="caption collapser" onclick="toggleSection('i:AsResult')">Instances</p><div id="section.i:AsResult" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:AsResult:AsResult:1" class="instance expander" onclick="toggleSection('i:ic:AsResult:AsResult:1')"></span> <a href="Text-Trifecta-Result.html#t:AsResult">AsResult</a> (<a href="Text-Trifecta-Result.html#t:Result">Result</a> a) (<a href="Text-Trifecta-Result.html#t:Result">Result</a> b) a b</span> <a href="src/Text-Trifecta-Result.html#line-115" class="link">Source</a> <a href="#t:AsResult" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:AsResult:AsResult:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:_Result">_Result</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism">Prism</a> (<a href="Text-Trifecta-Result.html#t:Result">Result</a> a) (<a href="Text-Trifecta-Result.html#t:Result">Result</a> b) (<a href="Text-Trifecta-Result.html#t:Result">Result</a> a) (<a href="Text-Trifecta-Result.html#t:Result">Result</a> b) <a href="src/Text-Trifecta-Result.html#_Result" class="link">Source</a> <a href="#v:_Result" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:_Success" class="def">_Success</a> :: <a href="Text-Trifecta-Result.html#t:AsResult">AsResult</a> s t a b =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism">Prism</a> s t a b <a href="src/Text-Trifecta-Result.html#_Success" class="link">Source</a> <a href="#v:_Success" class="selflink">#</a></p><div class="doc"><p>The <code><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism">Prism</a></code> for the <code><a href="Text-Trifecta-Result.html#v:Success">Success</a></code> constructor of <code><a href="Text-Trifecta-Result.html#t:Result">Result</a></code></p></div></div><div class="top"><p class="src"><a id="v:_Failure" class="def">_Failure</a> :: <a href="Text-Trifecta-Result.html#t:AsResult">AsResult</a> s s a a =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism-39-">Prism'</a> s <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a> <a href="src/Text-Trifecta-Result.html#_Failure" class="link">Source</a> <a href="#v:_Failure" class="selflink">#</a></p><div class="doc"><p>The <code><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism">Prism</a></code> for the <code><a href="Text-Trifecta-Result.html#v:Failure">Failure</a></code> constructor of <code><a href="Text-Trifecta-Result.html#t:Result">Result</a></code></p></div></div><h1 id="g:2">Parsing Errors</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Err" class="def">Err</a> <a href="src/Text-Trifecta-Result.html#Err" class="link">Source</a> <a href="#t:Err" class="selflink">#</a></p><div class="doc"><p>This is used to report an error. What went wrong, some supplemental docs and a set of things expected
 at the current location. This does not, however, include the actual location.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Err" class="def">Err</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:_reason" class="def">_reason</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_footnotes" class="def">_footnotes</a> :: [<a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>]</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_expected" class="def">_expected</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Set.html#t:Set">Set</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_finalDeltas" class="def">_finalDeltas</a> :: [<a href="Text-Trifecta-Delta.html#t:Delta">Delta</a>]</dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:Err" class="caption collapser" onclick="toggleSection('i:Err')">Instances</p><div id="section.i:Err" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Err:Semigroup:1" class="instance expander" onclick="toggleSection('i:id:Err:Semigroup:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Semigroup.html#t:Semigroup">Semigroup</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a></span> <a href="src/Text-Trifecta-Result.html#line-66" class="link">Source</a> <a href="#t:Err" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Err:Semigroup:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-60--62-">(&lt;&gt;)</a> :: <a href="Text-Trifecta-Result.html#t:Err">Err</a> -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a> -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="#v:-60--62-" class="selflink">#</a></p><p class="src"><a href="#v:sconcat">sconcat</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="#v:sconcat" class="selflink">#</a></p><p class="src"><a href="#v:stimes">stimes</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integral">Integral</a> b =&gt; b -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a> -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="#v:stimes" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Err:Monoid:2" class="instance expander" onclick="toggleSection('i:id:Err:Monoid:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a></span> <a href="src/Text-Trifecta-Result.html#line-71" class="link">Source</a> <a href="#t:Err" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Err:Monoid:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mempty">mempty</a> :: <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="#v:mempty" class="selflink">#</a></p><p class="src"><a href="#v:mappend">mappend</a> :: <a href="Text-Trifecta-Result.html#t:Err">Err</a> -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a> -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="#v:mappend" class="selflink">#</a></p><p class="src"><a href="#v:mconcat">mconcat</a> :: [<a href="Text-Trifecta-Result.html#t:Err">Err</a>] -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="#v:mconcat" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Err:HasErr:3" class="instance expander" onclick="toggleSection('i:id:Err:HasErr:3')"></span> <a href="Text-Trifecta-Result.html#t:HasErr">HasErr</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a></span> <a href="src/Text-Trifecta-Result.html#line-64" class="link">Source</a> <a href="#t:Err" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Err:HasErr:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:err">err</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="src/Text-Trifecta-Result.html#err" class="link">Source</a> <a href="#v:err" class="selflink">#</a></p><p class="src"><a href="#v:expected">expected</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Set.html#t:Set">Set</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>) <a href="src/Text-Trifecta-Result.html#expected" class="link">Source</a> <a href="#v:expected" class="selflink">#</a></p><p class="src"><a href="#v:finalDeltas">finalDeltas</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> [<a href="Text-Trifecta-Delta.html#t:Delta">Delta</a>] <a href="src/Text-Trifecta-Result.html#finalDeltas" class="link">Source</a> <a href="#v:finalDeltas" class="selflink">#</a></p><p class="src"><a href="#v:footnotes">footnotes</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> [<a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>] <a href="src/Text-Trifecta-Result.html#footnotes" class="link">Source</a> <a href="#v:footnotes" class="selflink">#</a></p><p class="src"><a href="#v:reason">reason</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>) <a href="src/Text-Trifecta-Result.html#reason" class="link">Source</a> <a href="#v:reason" 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:HasErr" class="def">HasErr</a> c <span class="keyword">where</span> <a href="src/Text-Trifecta-Result.html#HasErr" class="link">Source</a> <a href="#t:HasErr" class="selflink">#</a></p><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Text-Trifecta-Result.html#v:err">err</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:err" class="def">err</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> c <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="src/Text-Trifecta-Result.html#err" class="link">Source</a> <a href="#v:err" class="selflink">#</a></p><p class="src"><a id="v:expected" class="def">expected</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> c (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Set.html#t:Set">Set</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>) <a href="src/Text-Trifecta-Result.html#expected" class="link">Source</a> <a href="#v:expected" class="selflink">#</a></p><p class="src"><a id="v:finalDeltas" class="def">finalDeltas</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> c [<a href="Text-Trifecta-Delta.html#t:Delta">Delta</a>] <a href="src/Text-Trifecta-Result.html#finalDeltas" class="link">Source</a> <a href="#v:finalDeltas" class="selflink">#</a></p><p class="src"><a id="v:footnotes" class="def">footnotes</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> c [<a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>] <a href="src/Text-Trifecta-Result.html#footnotes" class="link">Source</a> <a href="#v:footnotes" class="selflink">#</a></p><p class="src"><a id="v:reason" class="def">reason</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> c (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>) <a href="src/Text-Trifecta-Result.html#reason" class="link">Source</a> <a href="#v:reason" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:HasErr" class="caption collapser" onclick="toggleSection('i:HasErr')">Instances</p><div id="section.i:HasErr" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:HasErr:HasErr:1" class="instance expander" onclick="toggleSection('i:ic:HasErr:HasErr:1')"></span> <a href="Text-Trifecta-Result.html#t:HasErr">HasErr</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a></span> <a href="src/Text-Trifecta-Result.html#line-64" class="link">Source</a> <a href="#t:HasErr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:HasErr:HasErr:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:err">err</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="src/Text-Trifecta-Result.html#err" class="link">Source</a> <a href="#v:err" class="selflink">#</a></p><p class="src"><a href="#v:expected">expected</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Set.html#t:Set">Set</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>) <a href="src/Text-Trifecta-Result.html#expected" class="link">Source</a> <a href="#v:expected" class="selflink">#</a></p><p class="src"><a href="#v:finalDeltas">finalDeltas</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> [<a href="Text-Trifecta-Delta.html#t:Delta">Delta</a>] <a href="src/Text-Trifecta-Result.html#finalDeltas" class="link">Source</a> <a href="#v:finalDeltas" class="selflink">#</a></p><p class="src"><a href="#v:footnotes">footnotes</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> [<a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>] <a href="src/Text-Trifecta-Result.html#footnotes" class="link">Source</a> <a href="#v:footnotes" class="selflink">#</a></p><p class="src"><a href="#v:reason">reason</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Text-Trifecta-Result.html#t:Err">Err</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a>) <a href="src/Text-Trifecta-Result.html#reason" class="link">Source</a> <a href="#v:reason" 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:Errable" class="def">Errable</a> m <span class="keyword">where</span> <a href="src/Text-Trifecta-Result.html#Errable" class="link">Source</a> <a href="#t:Errable" class="selflink">#</a></p><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Text-Trifecta-Result.html#v:raiseErr">raiseErr</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:raiseErr" class="def">raiseErr</a> :: <a href="Text-Trifecta-Result.html#t:Err">Err</a> -&gt; m a <a href="src/Text-Trifecta-Result.html#raiseErr" class="link">Source</a> <a href="#v:raiseErr" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:Errable" class="caption collapser" onclick="toggleSection('i:Errable')">Instances</p><div id="section.i:Errable" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Errable:Errable:1" class="instance expander" onclick="toggleSection('i:ic:Errable:Errable:1')"></span> <a href="Text-Trifecta-Result.html#t:Errable">Errable</a> <a href="Text-Trifecta-Parser.html#t:Parser">Parser</a></span> <a href="src/Text-Trifecta-Result.html#line-158" class="link">Source</a> <a href="#t:Errable" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Errable:Errable:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:raiseErr">raiseErr</a> :: <a href="Text-Trifecta-Result.html#t:Err">Err</a> -&gt; <a href="Text-Trifecta-Parser.html#t:Parser">Parser</a> a <a href="src/Text-Trifecta-Result.html#raiseErr" class="link">Source</a> <a href="#v:raiseErr" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:ErrInfo" class="def">ErrInfo</a> <a href="src/Text-Trifecta-Result.html#ErrInfo" class="link">Source</a> <a href="#t:ErrInfo" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:ErrInfo" class="def">ErrInfo</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:_errDoc" class="def">_errDoc</a> :: <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_errDeltas" class="def">_errDeltas</a> :: [<a href="Text-Trifecta-Delta.html#t:Delta">Delta</a>]</dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:ErrInfo" class="caption collapser" onclick="toggleSection('i:ErrInfo')">Instances</p><div id="section.i:ErrInfo" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:ErrInfo:Show:1" class="instance expander" onclick="toggleSection('i:id:ErrInfo:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a></span> <a href="src/Text-Trifecta-Result.html#line-53" class="link">Source</a> <a href="#t:ErrInfo" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:ErrInfo:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:ErrInfo:Monoid:2" class="instance expander" onclick="toggleSection('i:id:ErrInfo:Monoid:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a></span> <a href="src/Text-Trifecta-Result.html#line-101" class="link">Source</a> <a href="#t:ErrInfo" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:ErrInfo:Monoid:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mempty">mempty</a> :: <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a> <a href="#v:mempty" class="selflink">#</a></p><p class="src"><a href="#v:mappend">mappend</a> :: <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a> -&gt; <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a> -&gt; <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a> <a href="#v:mappend" class="selflink">#</a></p><p class="src"><a href="#v:mconcat">mconcat</a> :: [<a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a>] -&gt; <a href="Text-Trifecta-Result.html#t:ErrInfo">ErrInfo</a> <a href="#v:mconcat" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:explain" class="def">explain</a> :: <a href="Text-Trifecta-Rendering.html#t:Rendering">Rendering</a> -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a> -&gt; <a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a> <a href="src/Text-Trifecta-Result.html#explain" class="link">Source</a> <a href="#v:explain" class="selflink">#</a></p><div class="doc"><p>Convert a location and an <code><a href="Text-Trifecta-Result.html#t:Err">Err</a></code> into a <code><a href="file:///usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Doc">Doc</a></code></p></div></div><div class="top"><p class="src"><a id="v:failed" class="def">failed</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-Trifecta-Result.html#t:Err">Err</a> <a href="src/Text-Trifecta-Result.html#failed" class="link">Source</a> <a href="#v:failed" class="selflink">#</a></p><div class="doc"><p>Generate a simple <code><a href="Text-Trifecta-Result.html#t:Err">Err</a></code> word-wrapping the supplied message.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>