/usr/share/doc/libghc-uulib-doc/html/UU-Parsing-MachineInterface.html is in libghc-uulib-doc 0.9.15-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 6 7 8 9 10 11 12 13 14 15 16 17 18 | <!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>UU.Parsing.MachineInterface</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_UU-Parsing-MachineInterface.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/UU-Parsing-MachineInterface.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">uulib-0.9.15: Haskell Utrecht Tools Library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">UU.Parsing.MachineInterface</p></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="#t:InputState">InputState</a> state s pos | state -> s, state -> pos <span class="keyword">where</span><ul class="subs"><li><a href="#v:splitStateE">splitStateE</a> :: state -> <a href="UU-Parsing-MachineInterface.html#t:Either-39-">Either'</a> state s</li><li><a href="#v:splitState">splitState</a> :: state -> (#s, state#)</li><li><a href="#v:getPosition">getPosition</a> :: state -> pos</li><li><a href="#v:reportError">reportError</a> :: <a href="UU-Parsing-MachineInterface.html#t:Message">Message</a> s pos -> state -> state</li><li><a href="#v:insertSymbol">insertSymbol</a> :: s -> state -> state</li><li><a href="#v:deleteSymbol">deleteSymbol</a> :: s -> state -> state</li></ul></li><li class="src short"><span class="keyword">class</span> <a href="#t:OutputState">OutputState</a> r <span class="keyword">where</span><ul class="subs"><li><a href="#v:acceptR">acceptR</a> :: v -> rest -> r v rest</li><li><a href="#v:nextR">nextR</a> :: (a -> rest -> rest') -> (b -> a) -> r b rest -> rest'</li></ul></li><li class="src short"><span class="keyword">class</span> <a href="#t:Symbol">Symbol</a> s <span class="keyword">where</span><ul class="subs"><li><a href="#v:deleteCost">deleteCost</a> :: s -> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.3.0.0/GHC-Prim.html#t:Int-35-">Int#</a></li><li><a href="#v:symBefore">symBefore</a> :: s -> s</li><li><a href="#v:symAfter">symAfter</a> :: s -> s</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:Either-39-">Either'</a> state s<ul class="subs"><li>= <a href="#v:Left-39-">Left'</a> !s state </li><li>| <a href="#v:Right-39-">Right'</a> state </li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:Steps">Steps</a> val s p<ul class="subs"><li>= <span class="keyword">forall</span> a . <a href="#v:OkVal">OkVal</a> (a -> val) (<a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> a s p) </li><li>| <a href="#v:Ok">Ok</a> { <ul class="subs"><li><a href="#v:rest">rest</a> :: <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p</li></ul> }</li><li>| <a href="#v:Cost">Cost</a> { <ul class="subs"><li><a href="#v:costing">costing</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.3.0.0/GHC-Prim.html#t:Int-35-">Int#</a></li><li><a href="#v:rest">rest</a> :: <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p</li></ul> }</li><li>| <a href="#v:StRepair">StRepair</a> { <ul class="subs"><li><a href="#v:costing">costing</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.3.0.0/GHC-Prim.html#t:Int-35-">Int#</a></li><li><a href="#v:m">m</a> :: !(<a href="UU-Parsing-MachineInterface.html#t:Message">Message</a> s p)</li><li><a href="#v:rest">rest</a> :: <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p</li></ul> }</li><li>| <a href="#v:Best">Best</a> (<a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p) (<a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p) (<a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p) </li><li>| <a href="#v:NoMoreSteps">NoMoreSteps</a> val </li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:Action">Action</a> s<ul class="subs"><li>= <a href="#v:Insert">Insert</a> s </li><li>| <a href="#v:Delete">Delete</a> s </li><li>| <a href="#v:Other">Other</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"><a href="#v:val">val</a> :: (a -> b) -> <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> a s p -> <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> b s p</li><li class="src short"><a href="#v:evalSteps">evalSteps</a> :: <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> a s p -> a</li><li class="src short"><a href="#v:getMsgs">getMsgs</a> :: <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> a s p -> [<a href="UU-Parsing-MachineInterface.html#t:Message">Message</a> s p]</li><li class="src short"><span class="keyword">data</span> <a href="#t:Message">Message</a> sym pos = <a href="#v:Msg">Msg</a> (<a href="UU-Parsing-MachineInterface.html#t:Expecting">Expecting</a> sym) !pos (<a href="UU-Parsing-MachineInterface.html#t:Action">Action</a> sym)</li><li class="src short"><span class="keyword">data</span> <a href="#t:Expecting">Expecting</a> s<ul class="subs"><li>= <a href="#v:ESym">ESym</a> (<a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> s) </li><li>| <a href="#v:EStr">EStr</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:EOr">EOr</a> [<a href="UU-Parsing-MachineInterface.html#t:Expecting">Expecting</a> s] </li><li>| <a href="#v:ESeq">ESeq</a> [<a href="UU-Parsing-MachineInterface.html#t:Expecting">Expecting</a> s] </li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:SymbolR">SymbolR</a> s<ul class="subs"><li>= <a href="#v:Range">Range</a> !s !s </li><li>| <a href="#v:EmptyR">EmptyR</a> </li></ul></li><li class="src short"><a href="#v:mk_range">mk_range</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> s => s -> s -> <a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> s</li><li class="src short"><a href="#v:symInRange">symInRange</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> a => <a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> a -> a -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:symRS">symRS</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> a => <a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> a -> a -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ordering">Ordering</a></li><li class="src short"><a href="#v:except">except</a> :: (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> a, <a href="UU-Parsing-MachineInterface.html#t:Symbol">Symbol</a> a) => <a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> a -> [a] -> [<a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> a]</li><li class="src short"><a href="#v:usererror">usererror</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a>] -> t</li><li class="src short"><a href="#v:systemerror">systemerror</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a>] -> [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a>] -> t</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:InputState" class="def">InputState</a> state s pos | state -> s, state -> pos <span class="keyword">where</span><a href="src/UU-Parsing-MachineInterface.html#InputState" class="link">Source</a></p><div class="doc"><p>The <code><a href="UU-Parsing-MachineInterface.html#t:InputState">InputState</a></code> class contains the interface that the AnaParser
parsers expect for the input. A minimal complete instance definition
consists of <code><a href="UU-Parsing-MachineInterface.html#v:splitStateE">splitStateE</a></code>, <code><a href="UU-Parsing-MachineInterface.html#v:splitState">splitState</a></code> and <code><a href="UU-Parsing-MachineInterface.html#v:getPosition">getPosition</a></code>.
</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:splitStateE" class="def">splitStateE</a> :: state -> <a href="UU-Parsing-MachineInterface.html#t:Either-39-">Either'</a> state s<a href="src/UU-Parsing-MachineInterface.html#splitStateE" class="link">Source</a></p><div class="doc"><p>Splits the state in a strict variant of <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Either.html#t:Either">Either</a></code>, with <code><a href="UU-Parsing-MachineInterface.html#v:Left-39-">Left'</a></code> if a symbol
can be split off and <code><a href="UU-Parsing-MachineInterface.html#v:Right-39-">Right'</a></code> if none can
</p></div><p class="src"><a name="v:splitState" class="def">splitState</a> :: state -> (#s, state#)<a href="src/UU-Parsing-MachineInterface.html#splitState" class="link">Source</a></p><div class="doc"><p>Splits the state in the first symbol and the remaining state
</p></div><p class="src"><a name="v:getPosition" class="def">getPosition</a> :: state -> pos<a href="src/UU-Parsing-MachineInterface.html#getPosition" class="link">Source</a></p><div class="doc"><p>Gets the current position in the input
</p></div><p class="src"><a name="v:reportError" class="def">reportError</a> :: <a href="UU-Parsing-MachineInterface.html#t:Message">Message</a> s pos -> state -> state<a href="src/UU-Parsing-MachineInterface.html#reportError" class="link">Source</a></p><div class="doc"><p>Reports an error
</p></div><p class="src"><a name="v:insertSymbol" class="def">insertSymbol</a> :: s -> state -> state<a href="src/UU-Parsing-MachineInterface.html#insertSymbol" class="link">Source</a></p><div class="doc"><p>Modify the state as the result of inserting a symbol <code>s</code> in the input.
The symbol that has already been considered as having been inserted
is passed. It should normally not be added to the state.
</p></div><p class="src"><a name="v:deleteSymbol" class="def">deleteSymbol</a> :: s -> state -> state<a href="src/UU-Parsing-MachineInterface.html#deleteSymbol" class="link">Source</a></p><div class="doc"><p>Modify the state as the result of deleting a symbol <code>s</code> from the input.
The symbol that has already been deleted from the input state is passed.
It should normally not be deleted from the state.
</p></div></div><div class="subs instances"><p id="control.i:InputState" class="caption collapser" onclick="toggleSection('i:InputState')">Instances</p><div id="section.i:InputState" class="show"><table><tr><td class="src"><a href="UU-Parsing-MachineInterface.html#t:InputState">InputState</a> <a href="UU-Parsing-CharParser.html#t:Input">Input</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a> <a href="UU-Scanner-Position.html#t:Pos">Pos</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="UU-Parsing-MachineInterface.html#t:InputState">InputState</a> [s] s (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> s)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="UU-Parsing-MachineInterface.html#t:InputState">InputState</a> inp s p => <a href="UU-Parsing-MachineInterface.html#t:InputState">InputState</a> (inp, state) s p</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="UU-Parsing-MachineInterface.html#t:InputState">InputState</a> inp s p => <a href="UU-Parsing-MachineInterface.html#t:InputState">InputState</a> (<a href="UU-Parsing-Offside.html#t:OffsideInput">OffsideInput</a> inp s p) (<a href="UU-Parsing-Offside.html#t:OffsideSymbol">OffsideSymbol</a> s) p</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:OutputState" class="def">OutputState</a> r <span class="keyword">where</span><a href="src/UU-Parsing-MachineInterface.html#OutputState" class="link">Source</a></p><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:acceptR" class="def">acceptR</a> :: v -> rest -> r v rest<a href="src/UU-Parsing-MachineInterface.html#acceptR" class="link">Source</a></p><p class="src"><a name="v:nextR" class="def">nextR</a> :: (a -> rest -> rest') -> (b -> a) -> r b rest -> rest'<a href="src/UU-Parsing-MachineInterface.html#nextR" class="link">Source</a></p></div><div class="subs instances"><p id="control.i:OutputState" class="caption collapser" onclick="toggleSection('i:OutputState')">Instances</p><div id="section.i:OutputState" class="show"><table><tr><td class="src"><a href="UU-Parsing-MachineInterface.html#t:OutputState">OutputState</a> <a href="UU-Parsing-Interface.html#t:Pair">Pair</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:Symbol" class="def">Symbol</a> s <span class="keyword">where</span><a href="src/UU-Parsing-MachineInterface.html#Symbol" class="link">Source</a></p><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:deleteCost" class="def">deleteCost</a> :: s -> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.3.0.0/GHC-Prim.html#t:Int-35-">Int#</a><a href="src/UU-Parsing-MachineInterface.html#deleteCost" class="link">Source</a></p><p class="src"><a name="v:symBefore" class="def">symBefore</a> :: s -> s<a href="src/UU-Parsing-MachineInterface.html#symBefore" class="link">Source</a></p><p class="src"><a name="v:symAfter" class="def">symAfter</a> :: s -> s<a href="src/UU-Parsing-MachineInterface.html#symAfter" class="link">Source</a></p></div><div class="subs instances"><p id="control.i:Symbol" class="caption collapser" onclick="toggleSection('i:Symbol')">Instances</p><div id="section.i:Symbol" class="show"><table><tr><td class="src"><a href="UU-Parsing-MachineInterface.html#t:Symbol">Symbol</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="UU-Parsing-MachineInterface.html#t:Symbol">Symbol</a> s => <a href="UU-Parsing-MachineInterface.html#t:Symbol">Symbol</a> (<a href="UU-Parsing-Offside.html#t:OffsideSymbol">OffsideSymbol</a> s)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="UU-Parsing-MachineInterface.html#t:Symbol">Symbol</a> (<a href="UU-Scanner-GenToken.html#t:GenToken">GenToken</a> key tp val)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Either-39-" class="def">Either'</a> state s <a href="src/UU-Parsing-MachineInterface.html#Either%27" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Left-39-" class="def">Left'</a> !s state</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Right-39-" class="def">Right'</a> state</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Steps" class="def">Steps</a> val s p <a href="src/UU-Parsing-MachineInterface.html#Steps" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><span class="keyword">forall</span> a . <a name="v:OkVal" class="def">OkVal</a> (a -> val) (<a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> a s p)</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Ok" class="def">Ok</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:rest" class="def">rest</a> :: <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Cost" class="def">Cost</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:costing" class="def">costing</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.3.0.0/GHC-Prim.html#t:Int-35-">Int#</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rest" class="def">rest</a> :: <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:StRepair" class="def">StRepair</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:costing" class="def">costing</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.3.0.0/GHC-Prim.html#t:Int-35-">Int#</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:m" class="def">m</a> :: !(<a href="UU-Parsing-MachineInterface.html#t:Message">Message</a> s p)</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rest" class="def">rest</a> :: <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Best" class="def">Best</a> (<a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p) (<a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p) (<a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> val s p)</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:NoMoreSteps" class="def">NoMoreSteps</a> val</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Action" class="def">Action</a> s <a href="src/UU-Parsing-MachineInterface.html#Action" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Insert" class="def">Insert</a> s</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Delete" class="def">Delete</a> s</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Other" class="def">Other</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Action" class="caption collapser" onclick="toggleSection('i:Action')">Instances</p><div id="section.i:Action" 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> s => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> (<a href="UU-Parsing-MachineInterface.html#t:Action">Action</a> s)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:val" class="def">val</a> :: (a -> b) -> <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> a s p -> <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> b s p<a href="src/UU-Parsing-MachineInterface.html#val" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:evalSteps" class="def">evalSteps</a> :: <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> a s p -> a<a href="src/UU-Parsing-MachineInterface.html#evalSteps" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:getMsgs" class="def">getMsgs</a> :: <a href="UU-Parsing-MachineInterface.html#t:Steps">Steps</a> a s p -> [<a href="UU-Parsing-MachineInterface.html#t:Message">Message</a> s p]<a href="src/UU-Parsing-MachineInterface.html#getMsgs" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Message" class="def">Message</a> sym pos <a href="src/UU-Parsing-MachineInterface.html#Message" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Msg" class="def">Msg</a> (<a href="UU-Parsing-MachineInterface.html#t:Expecting">Expecting</a> sym) !pos (<a href="UU-Parsing-MachineInterface.html#t:Action">Action</a> sym)</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Message" class="caption collapser" onclick="toggleSection('i:Message')">Instances</p><div id="section.i:Message" class="show"><table><tr><td class="src">(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> s, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> s, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> p) => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> (<a href="UU-Parsing-MachineInterface.html#t:Message">Message</a> s p)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Expecting" class="def">Expecting</a> s <a href="src/UU-Parsing-MachineInterface.html#Expecting" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ESym" class="def">ESym</a> (<a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> s)</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:EStr" class="def">EStr</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:EOr" class="def">EOr</a> [<a href="UU-Parsing-MachineInterface.html#t:Expecting">Expecting</a> s]</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:ESeq" class="def">ESeq</a> [<a href="UU-Parsing-MachineInterface.html#t:Expecting">Expecting</a> s]</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Expecting" class="caption collapser" onclick="toggleSection('i:Expecting')">Instances</p><div id="section.i:Expecting" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> s => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> (<a href="UU-Parsing-MachineInterface.html#t:Expecting">Expecting</a> s)</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-Ord.html#t:Ord">Ord</a> s => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> (<a href="UU-Parsing-MachineInterface.html#t:Expecting">Expecting</a> s)</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-Eq.html#t:Eq">Eq</a> s, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> s) => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> (<a href="UU-Parsing-MachineInterface.html#t:Expecting">Expecting</a> s)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:SymbolR" class="def">SymbolR</a> s <a href="src/UU-Parsing-MachineInterface.html#SymbolR" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Range" class="def">Range</a> !s !s</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:EmptyR" class="def">EmptyR</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SymbolR" class="caption collapser" onclick="toggleSection('i:SymbolR')">Instances</p><div id="section.i:SymbolR" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> s => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> (<a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> s)</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-Ord.html#t:Ord">Ord</a> s => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> (<a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> s)</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-Eq.html#t:Eq">Eq</a> s, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> s) => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> (<a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> s)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:mk_range" class="def">mk_range</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> s => s -> s -> <a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> s<a href="src/UU-Parsing-MachineInterface.html#mk_range" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:symInRange" class="def">symInRange</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> a => <a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> a -> a -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a><a href="src/UU-Parsing-MachineInterface.html#symInRange" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:symRS" class="def">symRS</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> a => <a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> a -> a -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ordering">Ordering</a><a href="src/UU-Parsing-MachineInterface.html#symRS" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:except" class="def">except</a> :: (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> a, <a href="UU-Parsing-MachineInterface.html#t:Symbol">Symbol</a> a) => <a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> a -> [a] -> [<a href="UU-Parsing-MachineInterface.html#t:SymbolR">SymbolR</a> a]<a href="src/UU-Parsing-MachineInterface.html#except" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:usererror" class="def">usererror</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a>] -> t<a href="src/UU-Parsing-MachineInterface.html#usererror" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:systemerror" class="def">systemerror</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a>] -> [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a>] -> t<a href="src/UU-Parsing-MachineInterface.html#systemerror" class="link">Source</a></p></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>
|