This file is indexed.

/usr/share/doc/libghc-shakespeare-doc/html/Text-Shakespeare.html is in libghc-shakespeare-doc 2.0.14.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!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.Shakespeare</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-Shakespeare.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-Shakespeare.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">shakespeare-2.0.14.1: A toolkit for making compile-time interpolated templates</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Text.Shakespeare</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">low-level</a></li><li><a href="#g:2">Internal</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>NOTE: This module should be considered internal, and will be hidden in
 future releases.</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:ShakespeareSettings">ShakespeareSettings</a> = <a href="#v:ShakespeareSettings">ShakespeareSettings</a> {<ul class="subs"><li><a href="#v:varChar">varChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li><a href="#v:urlChar">urlChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li><a href="#v:intChar">intChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li><a href="#v:toBuilder">toBuilder</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a></li><li><a href="#v:wrap">wrap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a></li><li><a href="#v:unwrap">unwrap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a></li><li><a href="#v:justVarInterpolation">justVarInterpolation</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:preConversion">preConversion</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-Shakespeare.html#t:PreConvert">PreConvert</a></li><li><a href="#v:modifyFinalValue">modifyFinalValue</a> :: <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/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:PreConvert">PreConvert</a> = <a href="#v:PreConvert">PreConvert</a> {<ul class="subs"><li><a href="#v:preConvert">preConvert</a> :: <a href="Text-Shakespeare.html#t:PreConversion">PreConversion</a></li><li><a href="#v:preEscapeIgnoreBalanced">preEscapeIgnoreBalanced</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a>]</li><li><a href="#v:preEscapeIgnoreLine">preEscapeIgnoreLine</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a>]</li><li><a href="#v:wrapInsertion">wrapInsertion</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-Shakespeare.html#t:WrapInsertion">WrapInsertion</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:WrapInsertion">WrapInsertion</a> = <a href="#v:WrapInsertion">WrapInsertion</a> {<ul class="subs"><li><a href="#v:wrapInsertionIndent">wrapInsertionIndent</a> :: <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/base-4.9.1.0/Data-String.html#t:String">String</a></li><li><a href="#v:wrapInsertionStartBegin">wrapInsertionStartBegin</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li><a href="#v:wrapInsertionSeparator">wrapInsertionSeparator</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li><a href="#v:wrapInsertionStartClose">wrapInsertionStartClose</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li><a href="#v:wrapInsertionEnd">wrapInsertionEnd</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li><a href="#v:wrapInsertionAddParens">wrapInsertionAddParens</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:PreConversion">PreConversion</a><ul class="subs"><li>= <a href="#v:ReadProcess">ReadProcess</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li>| <a href="#v:Id">Id</a></li></ul></li><li class="src short"><a href="#v:defaultShakespeareSettings">defaultShakespeareSettings</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a></li><li class="src short"><a href="#v:shakespeare">shakespeare</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Quote.html#t:QuasiQuoter">QuasiQuoter</a></li><li class="src short"><a href="#v:shakespeareFile">shakespeareFile</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a></li><li class="src short"><a href="#v:shakespeareFileReload">shakespeareFileReload</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a></li><li class="src short"><a href="#v:shakespeareFromString">shakespeareFromString</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a></li><li class="src short"><a href="#v:shakespeareUsedIdentifiers">shakespeareUsedIdentifiers</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -&gt; [(<a href="Text-Shakespeare.html#t:Deref">Deref</a>, <a href="Text-Shakespeare.html#t:VarType">VarType</a>)]</li><li class="src short"><span class="keyword">type</span> <a href="#t:RenderUrl">RenderUrl</a> url = url -&gt; QueryParameters -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:VarType">VarType</a><ul class="subs"><li>= <a href="#v:VTPlain">VTPlain</a></li><li>| <a href="#v:VTUrl">VTUrl</a></li><li>| <a href="#v:VTUrlParam">VTUrlParam</a></li><li>| <a href="#v:VTMixin">VTMixin</a></li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:Deref">Deref</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:Parser">Parser</a> = <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Parsec">Parsec</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:preFilter">preFilter</a> :: <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/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:shakespeareRuntime">shakespeareRuntime</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; [(<a href="Text-Shakespeare.html#t:Deref">Deref</a>, VarExp url)] -&gt; Shakespeare url</li><li class="src short"><a href="#v:pack-39-">pack'</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:ShakespeareSettings" class="def">ShakespeareSettings</a> <a href="src/Text-Shakespeare.html#ShakespeareSettings" class="link">Source</a> <a href="#t:ShakespeareSettings" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:ShakespeareSettings" class="def">ShakespeareSettings</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:varChar" class="def">varChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:urlChar" class="def">urlChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:intChar" class="def">intChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:toBuilder" class="def">toBuilder</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:wrap" class="def">wrap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:unwrap" class="def">unwrap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:justVarInterpolation" class="def">justVarInterpolation</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:preConversion" class="def">preConversion</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-Shakespeare.html#t:PreConvert">PreConvert</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:modifyFinalValue" class="def">modifyFinalValue</a> :: <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/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a></dfn><div class="doc"><p>A transformation applied to the final expression. Most often, this
 would be used to force the type of the expression to help make more
 meaningful error messages.</p></div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:ShakespeareSettings" class="caption collapser" onclick="toggleSection('i:ShakespeareSettings')">Instances</p><div id="section.i:ShakespeareSettings" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:ShakespeareSettings:Lift:1" class="instance expander" onclick="toggleSection('i:id:ShakespeareSettings:Lift:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Lift">Lift</a> <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a></span> <a href="src/Text-Shakespeare.html#line-169" class="link">Source</a> <a href="#t:ShakespeareSettings" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:ShakespeareSettings:Lift:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:lift">lift</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a> <a href="#v:lift" 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:PreConvert" class="def">PreConvert</a> <a href="src/Text-Shakespeare.html#PreConvert" class="link">Source</a> <a href="#t:PreConvert" class="selflink">#</a></p><div class="doc"><p>Coffeescript, TypeScript, and other languages compiles down to Javascript.
 Previously we waited until the very end, at the rendering stage to perform this compilation.
 Lets call is a post-conversion
 This had the advantage that all Haskell values were inserted first:
 for example a value could be inserted that Coffeescript would compile into Javascript.
 While that is perhaps a safer approach, the advantage is not used in practice:
 it was that way mainly for ease of implementation.
 The down-side is the template must be compiled down to Javascript during every request.
 If instead we do a pre-conversion to compile down to Javascript,
 we only need to perform the compilation once.</p><p>The problem then is the insertion of Haskell values: we need a hole for
 them. This can be done with variables known to the language.
 During the pre-conversion we first modify all Haskell insertions
 So #{a} is change to shakespeare_var_a
 Then we can place the Haskell values in a function wrapper that exposes
 those variables: (function(shakespeare_var_a){ ... shakespeare_var_a ...})
 TypeScript can compile that, and then we tack an application of the
 Haskell values onto the result: (#{a})</p><p>preEscapeIgnoreBalanced is used to not insert backtacks for variable already inside strings or backticks.
 coffeescript will happily ignore the interpolations, and backticks would not be treated as escaping in that context.
 preEscapeIgnoreLine was added to ignore comments (which in Coffeescript begin with a <code>#</code>)</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:PreConvert" class="def">PreConvert</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:preConvert" class="def">preConvert</a> :: <a href="Text-Shakespeare.html#t:PreConversion">PreConversion</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:preEscapeIgnoreBalanced" class="def">preEscapeIgnoreBalanced</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a>]</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:preEscapeIgnoreLine" class="def">preEscapeIgnoreLine</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a>]</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:wrapInsertion" class="def">wrapInsertion</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-Shakespeare.html#t:WrapInsertion">WrapInsertion</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:PreConvert" class="caption collapser" onclick="toggleSection('i:PreConvert')">Instances</p><div id="section.i:PreConvert" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:PreConvert:Lift:1" class="instance expander" onclick="toggleSection('i:id:PreConvert:Lift:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Lift">Lift</a> <a href="Text-Shakespeare.html#t:PreConvert">PreConvert</a></span> <a href="src/Text-Shakespeare.html#line-156" class="link">Source</a> <a href="#t:PreConvert" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:PreConvert:Lift:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:lift">lift</a> :: <a href="Text-Shakespeare.html#t:PreConvert">PreConvert</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a> <a href="#v:lift" 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:WrapInsertion" class="def">WrapInsertion</a> <a href="src/Text-Shakespeare.html#WrapInsertion" class="link">Source</a> <a href="#t:WrapInsertion" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:WrapInsertion" class="def">WrapInsertion</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:wrapInsertionIndent" class="def">wrapInsertionIndent</a> :: <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/base-4.9.1.0/Data-String.html#t:String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:wrapInsertionStartBegin" class="def">wrapInsertionStartBegin</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:wrapInsertionSeparator" class="def">wrapInsertionSeparator</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:wrapInsertionStartClose" class="def">wrapInsertionStartClose</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:wrapInsertionEnd" class="def">wrapInsertionEnd</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:wrapInsertionAddParens" class="def">wrapInsertionAddParens</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:WrapInsertion" class="caption collapser" onclick="toggleSection('i:WrapInsertion')">Instances</p><div id="section.i:WrapInsertion" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:WrapInsertion:Lift:1" class="instance expander" onclick="toggleSection('i:id:WrapInsertion:Lift:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Lift">Lift</a> <a href="Text-Shakespeare.html#t:WrapInsertion">WrapInsertion</a></span> <a href="src/Text-Shakespeare.html#line-160" class="link">Source</a> <a href="#t:WrapInsertion" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:WrapInsertion:Lift:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:lift">lift</a> :: <a href="Text-Shakespeare.html#t:WrapInsertion">WrapInsertion</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a> <a href="#v:lift" 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:PreConversion" class="def">PreConversion</a> <a href="src/Text-Shakespeare.html#PreConversion" class="link">Source</a> <a href="#t:PreConversion" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:ReadProcess" class="def">ReadProcess</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:Id" class="def">Id</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:PreConversion" class="caption collapser" onclick="toggleSection('i:PreConversion')">Instances</p><div id="section.i:PreConversion" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:PreConversion:Lift:1" class="instance expander" onclick="toggleSection('i:id:PreConversion:Lift:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Lift">Lift</a> <a href="Text-Shakespeare.html#t:PreConversion">PreConversion</a></span> <a href="src/Text-Shakespeare.html#line-164" class="link">Source</a> <a href="#t:PreConversion" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:PreConversion:Lift:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:lift">lift</a> :: <a href="Text-Shakespeare.html#t:PreConversion">PreConversion</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a> <a href="#v:lift" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:defaultShakespeareSettings" class="def">defaultShakespeareSettings</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> <a href="src/Text-Shakespeare.html#defaultShakespeareSettings" class="link">Source</a> <a href="#v:defaultShakespeareSettings" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:shakespeare" class="def">shakespeare</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Quote.html#t:QuasiQuoter">QuasiQuoter</a> <a href="src/Text-Shakespeare.html#shakespeare" class="link">Source</a> <a href="#v:shakespeare" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:shakespeareFile" class="def">shakespeareFile</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a> <a href="src/Text-Shakespeare.html#shakespeareFile" class="link">Source</a> <a href="#v:shakespeareFile" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:shakespeareFileReload" class="def">shakespeareFileReload</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a> <a href="src/Text-Shakespeare.html#shakespeareFileReload" class="link">Source</a> <a href="#v:shakespeareFileReload" class="selflink">#</a></p></div><h1 id="g:1">low-level</h1><div class="top"><p class="src"><a id="v:shakespeareFromString" class="def">shakespeareFromString</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a> <a href="src/Text-Shakespeare.html#shakespeareFromString" class="link">Source</a> <a href="#v:shakespeareFromString" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:shakespeareUsedIdentifiers" class="def">shakespeareUsedIdentifiers</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -&gt; [(<a href="Text-Shakespeare.html#t:Deref">Deref</a>, <a href="Text-Shakespeare.html#t:VarType">VarType</a>)] <a href="src/Text-Shakespeare.html#shakespeareUsedIdentifiers" class="link">Source</a> <a href="#v:shakespeareUsedIdentifiers" class="selflink">#</a></p><div class="doc"><p>Determine which identifiers are used by the given template, useful for
 creating systems like yesod devel.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:RenderUrl" class="def">RenderUrl</a> url = url -&gt; QueryParameters -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Text-Shakespeare.html#RenderUrl" class="link">Source</a> <a href="#t:RenderUrl" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:VarType" class="def">VarType</a> <a href="src/Text-Shakespeare.html#VarType" class="link">Source</a> <a href="#t:VarType" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:VTPlain" class="def">VTPlain</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:VTUrl" class="def">VTUrl</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:VTUrlParam" class="def">VTUrlParam</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:VTMixin" class="def">VTMixin</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:VarType" class="caption collapser" onclick="toggleSection('i:VarType')">Instances</p><div id="section.i:VarType" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:VarType:Bounded:1" class="instance expander" onclick="toggleSection('i:id:VarType:Bounded:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Bounded">Bounded</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a></span> <a href="src/Text-Shakespeare.html#line-404" class="link">Source</a> <a href="#t:VarType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:VarType:Bounded:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:minBound">minBound</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:minBound" class="selflink">#</a></p><p class="src"><a href="#v:maxBound">maxBound</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:maxBound" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:VarType:Enum:2" class="instance expander" onclick="toggleSection('i:id:VarType:Enum:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Enum">Enum</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a></span> <a href="src/Text-Shakespeare.html#line-404" class="link">Source</a> <a href="#t:VarType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:VarType:Enum:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; [<a href="Text-Shakespeare.html#t:VarType">VarType</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; [<a href="Text-Shakespeare.html#t:VarType">VarType</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; [<a href="Text-Shakespeare.html#t:VarType">VarType</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; [<a href="Text-Shakespeare.html#t:VarType">VarType</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:VarType:Eq:3" class="instance expander" onclick="toggleSection('i:id:VarType:Eq:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a></span> <a href="src/Text-Shakespeare.html#line-404" class="link">Source</a> <a href="#t:VarType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:VarType:Eq:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:VarType:Data:4" class="instance expander" onclick="toggleSection('i:id:VarType:Data:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a></span> <a href="src/Text-Shakespeare.html#line-404" class="link">Source</a> <a href="#t:VarType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:VarType:Data:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gfoldl">gfoldl</a> :: (<span class="keyword">forall</span> d b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; c (d -&gt; b) -&gt; d -&gt; c b) -&gt; (<span class="keyword">forall</span> g. g -&gt; c g) -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; c <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:gfoldl" class="selflink">#</a></p><p class="src"><a href="#v:gunfold">gunfold</a> :: (<span class="keyword">forall</span> b r. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> b =&gt; c (b -&gt; r) -&gt; c r) -&gt; (<span class="keyword">forall</span> r. r -&gt; c r) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Constr">Constr</a> -&gt; c <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:gunfold" class="selflink">#</a></p><p class="src"><a href="#v:toConstr">toConstr</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Constr">Constr</a> <a href="#v:toConstr" class="selflink">#</a></p><p class="src"><a href="#v:dataTypeOf">dataTypeOf</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:DataType">DataType</a> <a href="#v:dataTypeOf" class="selflink">#</a></p><p class="src"><a href="#v:dataCast1">dataCast1</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) t =&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; c (t d)) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (c <a href="Text-Shakespeare.html#t:VarType">VarType</a>) <a href="#v:dataCast1" class="selflink">#</a></p><p class="src"><a href="#v:dataCast2">dataCast2</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) t =&gt; (<span class="keyword">forall</span> d e. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> e) =&gt; c (t d e)) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (c <a href="Text-Shakespeare.html#t:VarType">VarType</a>) <a href="#v:dataCast2" class="selflink">#</a></p><p class="src"><a href="#v:gmapT">gmapT</a> :: (<span class="keyword">forall</span> b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> b =&gt; b -&gt; b) -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:gmapT" class="selflink">#</a></p><p class="src"><a href="#v:gmapQl">gmapQl</a> :: (r -&gt; r' -&gt; r) -&gt; r -&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; r') -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; r <a href="#v:gmapQl" class="selflink">#</a></p><p class="src"><a href="#v:gmapQr">gmapQr</a> :: (r' -&gt; r -&gt; r) -&gt; r -&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; r') -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; r <a href="#v:gmapQr" class="selflink">#</a></p><p class="src"><a href="#v:gmapQ">gmapQ</a> :: (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; u) -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; [u] <a href="#v:gmapQ" class="selflink">#</a></p><p class="src"><a href="#v:gmapQi">gmapQi</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; u) -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; u <a href="#v:gmapQi" class="selflink">#</a></p><p class="src"><a href="#v:gmapM">gmapM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; m d) -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; m <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:gmapM" class="selflink">#</a></p><p class="src"><a href="#v:gmapMp">gmapMp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m =&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; m d) -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; m <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:gmapMp" class="selflink">#</a></p><p class="src"><a href="#v:gmapMo">gmapMo</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m =&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; m d) -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; m <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:gmapMo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:VarType:Ord:5" class="instance expander" onclick="toggleSection('i:id:VarType:Ord:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a></span> <a href="src/Text-Shakespeare.html#line-404" class="link">Source</a> <a href="#t:VarType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:VarType:Ord:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(&lt;)</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(&lt;=)</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(&gt;)</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(&gt;=)</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:VarType:Show:6" class="instance expander" onclick="toggleSection('i:id:VarType:Show:6')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a></span> <a href="src/Text-Shakespeare.html#line-404" class="link">Source</a> <a href="#t:VarType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:VarType: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.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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-Shakespeare.html#t:VarType">VarType</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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:VarType:Generic:7" class="instance expander" onclick="toggleSection('i:id:VarType:Generic:7')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a></span> <a href="src/Text-Shakespeare.html#line-404" class="link">Source</a> <a href="#t:VarType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:VarType:Generic:7" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Rep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:from">from</a> :: <a href="Text-Shakespeare.html#t:VarType">VarType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a> x <a href="#v:from" class="selflink">#</a></p><p class="src"><a href="#v:to">to</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a> x -&gt; <a href="Text-Shakespeare.html#t:VarType">VarType</a> <a href="#v:to" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:VarType:Rep:8" class="instance expander" onclick="toggleSection('i:id:VarType:Rep:8')"></span> <span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a></span> <a href="src/Text-Shakespeare.html#line-403" class="link">Source</a> <a href="#t:VarType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:VarType:Rep:8" class="inst-details hide"><div class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Text-Shakespeare.html#t:VarType">VarType</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:D1">D1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#v:MetaData">MetaData</a> &quot;VarType&quot; &quot;Text.Shakespeare&quot; &quot;shakespeare-2.0.14.1-6at1yCdNt7rcdvmNlIK7h&quot; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">(:+:)</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">(:+:)</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:C1">C1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#v:MetaCons">MetaCons</a> &quot;VTPlain&quot; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#v:PrefixI">PrefixI</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a>) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:C1">C1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#v:MetaCons">MetaCons</a> &quot;VTUrl&quot; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#v:PrefixI">PrefixI</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a>) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a>)) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">(:+:)</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:C1">C1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#v:MetaCons">MetaCons</a> &quot;VTUrlParam&quot; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#v:PrefixI">PrefixI</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a>) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:C1">C1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#v:MetaCons">MetaCons</a> &quot;VTMixin&quot; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#v:PrefixI">PrefixI</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a>) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a>)))</div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Deref" class="def">Deref</a> <a href="src/Text-Shakespeare-Base.html#Deref" class="link">Source</a> <a href="#t:Deref" class="selflink">#</a></p><div class="subs instances"><p id="control.i:Deref" class="caption collapser" onclick="toggleSection('i:Deref')">Instances</p><div id="section.i:Deref" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Deref:Eq:1" class="instance expander" onclick="toggleSection('i:id:Deref:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Shakespeare.html#t:Deref">Deref</a></span> <a href="src/Text-Shakespeare-Base.html#line-53" class="link">Source</a> <a href="#t:Deref" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Deref:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Deref:Data:2" class="instance expander" onclick="toggleSection('i:id:Deref:Data:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> <a href="Text-Shakespeare.html#t:Deref">Deref</a></span> <a href="src/Text-Shakespeare-Base.html#line-53" class="link">Source</a> <a href="#t:Deref" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Deref:Data:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gfoldl">gfoldl</a> :: (<span class="keyword">forall</span> d b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; c (d -&gt; b) -&gt; d -&gt; c b) -&gt; (<span class="keyword">forall</span> g. g -&gt; c g) -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; c <a href="Text-Shakespeare.html#t:Deref">Deref</a> <a href="#v:gfoldl" class="selflink">#</a></p><p class="src"><a href="#v:gunfold">gunfold</a> :: (<span class="keyword">forall</span> b r. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> b =&gt; c (b -&gt; r) -&gt; c r) -&gt; (<span class="keyword">forall</span> r. r -&gt; c r) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Constr">Constr</a> -&gt; c <a href="Text-Shakespeare.html#t:Deref">Deref</a> <a href="#v:gunfold" class="selflink">#</a></p><p class="src"><a href="#v:toConstr">toConstr</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Constr">Constr</a> <a href="#v:toConstr" class="selflink">#</a></p><p class="src"><a href="#v:dataTypeOf">dataTypeOf</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:DataType">DataType</a> <a href="#v:dataTypeOf" class="selflink">#</a></p><p class="src"><a href="#v:dataCast1">dataCast1</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) t =&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; c (t d)) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (c <a href="Text-Shakespeare.html#t:Deref">Deref</a>) <a href="#v:dataCast1" class="selflink">#</a></p><p class="src"><a href="#v:dataCast2">dataCast2</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) t =&gt; (<span class="keyword">forall</span> d e. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> e) =&gt; c (t d e)) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (c <a href="Text-Shakespeare.html#t:Deref">Deref</a>) <a href="#v:dataCast2" class="selflink">#</a></p><p class="src"><a href="#v:gmapT">gmapT</a> :: (<span class="keyword">forall</span> b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> b =&gt; b -&gt; b) -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> <a href="#v:gmapT" class="selflink">#</a></p><p class="src"><a href="#v:gmapQl">gmapQl</a> :: (r -&gt; r' -&gt; r) -&gt; r -&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; r') -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; r <a href="#v:gmapQl" class="selflink">#</a></p><p class="src"><a href="#v:gmapQr">gmapQr</a> :: (r' -&gt; r -&gt; r) -&gt; r -&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; r') -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; r <a href="#v:gmapQr" class="selflink">#</a></p><p class="src"><a href="#v:gmapQ">gmapQ</a> :: (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; u) -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; [u] <a href="#v:gmapQ" class="selflink">#</a></p><p class="src"><a href="#v:gmapQi">gmapQi</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; u) -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; u <a href="#v:gmapQi" class="selflink">#</a></p><p class="src"><a href="#v:gmapM">gmapM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; m d) -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; m <a href="Text-Shakespeare.html#t:Deref">Deref</a> <a href="#v:gmapM" class="selflink">#</a></p><p class="src"><a href="#v:gmapMp">gmapMp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m =&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; m d) -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; m <a href="Text-Shakespeare.html#t:Deref">Deref</a> <a href="#v:gmapMp" class="selflink">#</a></p><p class="src"><a href="#v:gmapMo">gmapMo</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m =&gt; (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d =&gt; d -&gt; m d) -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; m <a href="Text-Shakespeare.html#t:Deref">Deref</a> <a href="#v:gmapMo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Deref:Ord:3" class="instance expander" onclick="toggleSection('i:id:Deref:Ord:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Text-Shakespeare.html#t:Deref">Deref</a></span> <a href="src/Text-Shakespeare-Base.html#line-53" class="link">Source</a> <a href="#t:Deref" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Deref:Ord:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(&lt;)</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(&lt;=)</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(&gt;)</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(&gt;=)</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Deref:Read:4" class="instance expander" onclick="toggleSection('i:id:Deref:Read:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Read.html#t:Read">Read</a> <a href="Text-Shakespeare.html#t:Deref">Deref</a></span> <a href="src/Text-Shakespeare-Base.html#line-53" class="link">Source</a> <a href="#t:Deref" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Deref:Read:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:readsPrec">readsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> <a href="Text-Shakespeare.html#t:Deref">Deref</a> <a href="#v:readsPrec" class="selflink">#</a></p><p class="src"><a href="#v:readList">readList</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> [<a href="Text-Shakespeare.html#t:Deref">Deref</a>] <a href="#v:readList" class="selflink">#</a></p><p class="src"><a href="#v:readPrec">readPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> <a href="Text-Shakespeare.html#t:Deref">Deref</a> <a href="#v:readPrec" class="selflink">#</a></p><p class="src"><a href="#v:readListPrec">readListPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> [<a href="Text-Shakespeare.html#t:Deref">Deref</a>] <a href="#v:readListPrec" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Deref:Show:5" class="instance expander" onclick="toggleSection('i:id:Deref:Show:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Text-Shakespeare.html#t:Deref">Deref</a></span> <a href="src/Text-Shakespeare-Base.html#line-53" class="link">Source</a> <a href="#t:Deref" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Deref:Show:5" 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.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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-Shakespeare.html#t:Deref">Deref</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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:Deref:Lift:6" class="instance expander" onclick="toggleSection('i:id:Deref:Lift:6')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Lift">Lift</a> <a href="Text-Shakespeare.html#t:Deref">Deref</a></span> <a href="src/Text-Shakespeare-Base.html#line-57" class="link">Source</a> <a href="#t:Deref" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Deref:Lift:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:lift">lift</a> :: <a href="Text-Shakespeare.html#t:Deref">Deref</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Q">Q</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/template-haskell-2.11.1.0/Language-Haskell-TH-Syntax.html#t:Exp">Exp</a> <a href="#v:lift" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Parser" class="def">Parser</a> = <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Parsec">Parsec</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>] <a href="src/Text-Shakespeare.html#Parser" class="link">Source</a> <a href="#t:Parser" class="selflink">#</a></p><div class="doc"><p>A parser with a user state of [String]</p></div></div><div class="top"><p class="src"><a id="v:preFilter" class="def">preFilter</a> <a href="src/Text-Shakespeare.html#preFilter" class="link">Source</a> <a href="#v:preFilter" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <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/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a></td><td class="doc"><p>for error reporting</p></td></tr><tr><td class="src">-&gt; <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div><h1 id="g:2">Internal</h1><div class="top"><p class="src"><a id="v:shakespeareRuntime" class="def">shakespeareRuntime</a> :: <a href="Text-Shakespeare.html#t:ShakespeareSettings">ShakespeareSettings</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; [(<a href="Text-Shakespeare.html#t:Deref">Deref</a>, VarExp url)] -&gt; Shakespeare url <a href="src/Text-Shakespeare.html#shakespeareRuntime" class="link">Source</a> <a href="#v:shakespeareRuntime" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pack-39-" class="def">pack'</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Text-Shakespeare.html#pack%27" class="link">Source</a> <a href="#v:pack-39-" class="selflink">#</a></p></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>