<!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.Show</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_Text-Show.html");}; //]]> </script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">base-4.5.1.0: Basic libraries</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>libraries@haskell.org</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr></table><p class="caption">Text.Show</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Converting values to readable strings: the <code><a href="Text-Show.html#t:Show">Show</a></code> class and associated functions. </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">type</span> <a href="#t:ShowS">ShowS</a> = <a href="Data-String.html#t:String">String</a> -> <a href="Data-String.html#t:String">String</a></li><li class="src short"><span class="keyword">class</span> <a href="#t:Show">Show</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:showsPrec">showsPrec</a> :: <a href="Data-Int.html#t:Int">Int</a> -> a -> <a href="Text-Show.html#t:ShowS">ShowS</a></li><li><a href="#v:show">show</a> :: a -> <a href="Data-String.html#t:String">String</a></li><li><a href="#v:showList">showList</a> :: [a] -> <a href="Text-Show.html#t:ShowS">ShowS</a></li></ul></li><li class="src short"><a href="#v:shows">shows</a> :: <a href="Text-Show.html#t:Show">Show</a> a => a -> <a href="Text-Show.html#t:ShowS">ShowS</a></li><li class="src short"><a href="#v:showChar">showChar</a> :: <a href="Data-Char.html#t:Char">Char</a> -> <a href="Text-Show.html#t:ShowS">ShowS</a></li><li class="src short"><a href="#v:showString">showString</a> :: <a href="Data-String.html#t:String">String</a> -> <a href="Text-Show.html#t:ShowS">ShowS</a></li><li class="src short"><a href="#v:showParen">showParen</a> :: <a href="Data-Bool.html#t:Bool">Bool</a> -> <a href="Text-Show.html#t:ShowS">ShowS</a> -> <a href="Text-Show.html#t:ShowS">ShowS</a></li><li class="src short"><a href="#v:showListWith">showListWith</a> :: (a -> <a href="Text-Show.html#t:ShowS">ShowS</a>) -> [a] -> <a href="Text-Show.html#t:ShowS">ShowS</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:ShowS" class="def">ShowS</a> = <a href="Data-String.html#t:String">String</a> -> <a href="Data-String.html#t:String">String</a></p><div class="doc"><p>The <code>shows</code> functions return a function that prepends the output <code><a href="Data-String.html#t:String">String</a></code> to an existing <code><a href="Data-String.html#t:String">String</a></code>. This allows constant-time concatenation of results using function composition. </p></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:Show" class="def">Show</a> a <span class="keyword">where</span></p><div class="doc"><p>Conversion of values to readable <code><a href="Data-String.html#t:String">String</a></code>s. </p><p>Minimal complete definition: <code><a href="Text-Show.html#v:showsPrec">showsPrec</a></code> or <code><a href="Text-Show.html#v:show">show</a></code>. </p><p>Derived instances of <code><a href="Text-Show.html#t:Show">Show</a></code> have the following properties, which are compatible with derived instances of <code><a href="Text-Read.html#t:Read">Read</a></code>: </p><ul><li> The result of <code><a href="Text-Show.html#v:show">show</a></code> is a syntactically correct Haskell expression containing only constants, given the fixity declarations in force at the point where the type is declared. It contains only the constructor names defined in the data type, parentheses, and spaces. When labelled constructor fields are used, braces, commas, field names, and equal signs are also used. </li><li> If the constructor is defined to be an infix operator, then <code><a href="Text-Show.html#v:showsPrec">showsPrec</a></code> will produce infix applications of the constructor. </li><li> the representation will be enclosed in parentheses if the precedence of the top-level constructor in <code>x</code> is less than <code>d</code> (associativity is ignored). Thus, if <code>d</code> is <code>0</code> then the result is never surrounded in parentheses; if <code>d</code> is <code>11</code> it is always surrounded in parentheses, unless it is an atomic expression. </li><li> If the constructor is defined using record syntax, then <code><a href="Text-Show.html#v:show">show</a></code> will produce the record-syntax form, with the fields given in the same order as the original declaration. </li></ul><p>For example, given the declarations </p><pre> infixr 5 :^: data Tree a = Leaf a | Tree a :^: Tree a </pre><p>the derived instance of <code><a href="Text-Show.html#t:Show">Show</a></code> is equivalent to </p><pre> instance (Show a) => Show (Tree a) where showsPrec d (Leaf m) = showParen (d > app_prec) $ showString "Leaf " . showsPrec (app_prec+1) m where app_prec = 10 showsPrec d (u :^: v) = showParen (d > up_prec) $ showsPrec (up_prec+1) u . showString " :^: " . showsPrec (up_prec+1) v where up_prec = 5 </pre><p>Note that right-associativity of <code>:^:</code> is ignored. For example, </p><ul><li> <code><code><a href="Text-Show.html#v:show">show</a></code> (Leaf 1 :^: Leaf 2 :^: Leaf 3)</code> produces the string <code>"Leaf 1 :^: (Leaf 2 :^: Leaf 3)"</code>. </li></ul></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:showsPrec" class="def">showsPrec</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Data-Int.html#t:Int">Int</a></td><td class="doc"><p>the operator precedence of the enclosing context (a number from <code>0</code> to <code>11</code>). Function application has precedence <code>10</code>. </p></td></tr><tr><td class="src">-> a</td><td class="doc"><p>the value to be converted to a <code><a href="Data-String.html#t:String">String</a></code> </p></td></tr><tr><td class="src">-> <a href="Text-Show.html#t:ShowS">ShowS</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Convert a value to a readable <code><a href="Data-String.html#t:String">String</a></code>. </p><p><code><a href="Text-Show.html#v:showsPrec">showsPrec</a></code> should satisfy the law </p><pre> showsPrec d x r ++ s == showsPrec d x (r ++ s) </pre><p>Derived instances of <code><a href="Text-Read.html#t:Read">Read</a></code> and <code><a href="Text-Show.html#t:Show">Show</a></code> satisfy the following: </p><ul><li> <code>(x,"")</code> is an element of <code>(<code><a href="Text-Read.html#v:readsPrec">readsPrec</a></code> d (<code><a href="Text-Show.html#v:showsPrec">showsPrec</a></code> d x ""))</code>. </li></ul><p>That is, <code><a href="Text-Read.html#v:readsPrec">readsPrec</a></code> parses the string produced by <code><a href="Text-Show.html#v:showsPrec">showsPrec</a></code>, and delivers the value that <code><a href="Text-Show.html#v:showsPrec">showsPrec</a></code> started with. </p></div><p class="src"><a name="v:show" class="def">show</a> :: a -> <a href="Data-String.html#t:String">String</a></p><div class="doc"><p>A specialised variant of <code><a href="Text-Show.html#v:showsPrec">showsPrec</a></code>, using precedence context zero, and returning an ordinary <code><a href="Data-String.html#t:String">String</a></code>. </p></div><p class="src"><a name="v:showList" class="def">showList</a> :: [a] -> <a href="Text-Show.html#t:ShowS">ShowS</a></p><div class="doc"><p>The method <code><a href="Text-Show.html#v:showList">showList</a></code> is provided to allow the programmer to give a specialised way of showing lists of values. For example, this is used by the predefined <code><a href="Text-Show.html#t:Show">Show</a></code> instance of the <code><a href="Data-Char.html#t:Char">Char</a></code> type, where values of type <code><a href="Data-String.html#t:String">String</a></code> should be shown in double quotes, rather than between square brackets. </p></div></div><div class="subs instances"><p id="control.i:Show" class="caption collapser" onclick="toggleSection('i:Show')">Instances</p><div id="section.i:Show" class="show"><table><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Bool.html#t:Bool">Bool</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Char.html#t:Char">Char</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Prelude.html#t:Double">Double</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Prelude.html#t:Float">Float</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Int.html#t:Int">Int</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Int.html#t:Int8">Int8</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Int.html#t:Int16">Int16</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Int.html#t:Int32">Int32</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Int.html#t:Int64">Int64</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Prelude.html#t:Integer">Integer</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Ord.html#t:Ordering">Ordering</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Word.html#t:Word">Word</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Word.html#t:Word8">Word8</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Word.html#t:Word16">Word16</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Word.html#t:Word32">Word32</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Word.html#t:Word64">Word64</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> ()</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="../ghc-prim-0.2.0.0/GHC-Generics.html#t:Arity">Arity</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="../ghc-prim-0.2.0.0/GHC-Generics.html#t:Fixity">Fixity</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="../ghc-prim-0.2.0.0/GHC-Generics.html#t:Associativity">Associativity</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Typeable-Internal.html#t:TyCon">TyCon</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Typeable-Internal.html#t:TypeRep">TypeRep</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:ArithException">ArithException</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:ErrorCall">ErrorCall</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:SomeException">SomeException</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:IOException">IOException</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:MaskingState">MaskingState</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> Number</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Text-Read-Lex.html#t:Lexeme-39-">Lexeme'</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Text-Read-Lex.html#t:Lexeme">Lexeme</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-IO.html#t:IOMode">IOMode</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-IO-Device.html#t:SeekMode">SeekMode</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CUIntMax">CUIntMax</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CIntMax">CIntMax</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CUIntPtr">CUIntPtr</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CIntPtr">CIntPtr</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CSUSeconds">CSUSeconds</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CUSeconds">CUSeconds</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CTime">CTime</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CClock">CClock</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CSigAtomic">CSigAtomic</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CWchar">CWchar</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CSize">CSize</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CPtrdiff">CPtrdiff</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CDouble">CDouble</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CFloat">CFloat</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CULLong">CULLong</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CLLong">CLLong</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CULong">CULong</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CLong">CLong</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CUInt">CUInt</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CInt">CInt</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CUShort">CUShort</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CShort">CShort</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CUChar">CUChar</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CSChar">CSChar</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-C-Types.html#t:CChar">CChar</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Char.html#t:GeneralCategory">GeneralCategory</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Dynamic.html#t:Dynamic">Dynamic</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-Ptr.html#t:IntPtr">IntPtr</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Foreign-Ptr.html#t:WordPtr">WordPtr</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Monoid.html#t:Any">Any</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Monoid.html#t:All">All</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> HashData</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-IO-Encoding-Types.html#t:CodingProgress">CodingProgress</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-IO-Encoding-Types.html#t:TextEncoding">TextEncoding</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-IO-Handle.html#t:NewlineMode">NewlineMode</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-IO-Handle.html#t:Newline">Newline</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-IO-Handle.html#t:BufferMode">BufferMode</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> HandleType</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-IO-Handle.html#t:Handle">Handle</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-IO-Error.html#t:IOErrorType">IOErrorType</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Exit.html#t:ExitCode">ExitCode</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:ArrayException">ArrayException</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:AsyncException">AsyncException</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:AssertionFailed">AssertionFailed</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:Deadlock">Deadlock</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:BlockedIndefinitelyOnSTM">BlockedIndefinitelyOnSTM</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:BlockedIndefinitelyOnMVar">BlockedIndefinitelyOnMVar</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-IO-Encoding-Failure.html#t:CodingFailureMode">CodingFailureMode</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-Conc.html#t:ThreadStatus">ThreadStatus</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-Conc.html#t:BlockReason">BlockReason</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Concurrent.html#t:ThreadId">ThreadId</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:NestedAtomically">NestedAtomically</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:NonTermination">NonTermination</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:NoMethodError">NoMethodError</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:RecUpdError">RecUpdError</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:RecConError">RecConError</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:RecSelError">RecSelError</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-Exception-Base.html#t:PatternMatchFail">PatternMatchFail</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:Fd">Fd</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CRLim">CRLim</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CTcflag">CTcflag</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CSpeed">CSpeed</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CCc">CCc</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CUid">CUid</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CNlink">CNlink</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CGid">CGid</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CSsize">CSsize</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CPid">CPid</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:COff">COff</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CMode">CMode</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CIno">CIno</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="System-Posix-Types.html#t:CDev">CDev</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> Control</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> ControlMessage</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> Timeout</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-Event.html#t:Event">Event</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> EventType</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> Event</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> EPollFd</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> Unique</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> State</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-Event.html#t:FdKey">FdKey</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> FD</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-IO-Handle.html#t:HandlePosn">HandlePosn</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Control-OldException.html#t:Exception">Exception</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> Event</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> PollFd</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Data.html#t:Fixity">Fixity</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Data.html#t:ConstrRep">ConstrRep</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Data.html#t:DataRep">DataRep</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Data.html#t:Constr">Constr</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Data.html#t:DataType">DataType</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> BlockedIndefinitely</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> BlockedOnDeadMVar</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="GHC-Stats.html#t:GCStats">GCStats</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> Timeout</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> <a href="Data-Version.html#t:Version">Version</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> [a]</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Prelude.html#t:Integral">Integral</a> a, <a href="Text-Show.html#t:Show">Show</a> a) => <a href="Text-Show.html#t:Show">Show</a> (<a href="Data-Ratio.html#t:Ratio">Ratio</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> (<a href="Foreign-Ptr.html#t:Ptr">Ptr</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> (<a href="Foreign-Ptr.html#t:FunPtr">FunPtr</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (<a href="Data-Maybe.html#t:Maybe">Maybe</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> (<a href="Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (<a href="Data-Monoid.html#t:Last">Last</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (<a href="Data-Monoid.html#t:First">First</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (<a href="Data-Monoid.html#t:Product">Product</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (<a href="Data-Monoid.html#t:Sum">Sum</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (<a href="Data-Monoid.html#t:Dual">Dual</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (IntMap a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (Sequ a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (LTree a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (PSQ a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (Elem a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> a => <a href="Text-Show.html#t:Show">Show</a> (<a href="Data-Complex.html#t:Complex">Complex</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Data-Fixed.html#t:HasResolution">HasResolution</a> a => <a href="Text-Show.html#t:Show">Show</a> (<a href="Data-Fixed.html#t:Fixed">Fixed</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> (a -> b)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b) => <a href="Text-Show.html#t:Show">Show</a> (<a href="Data-Either.html#t:Either">Either</a> a b)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b) => <a href="Text-Show.html#t:Show">Show</a> (a, b)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Text-Show.html#t:Show">Show</a> (<a href="Control-Monad-ST-Safe.html#t:ST">ST</a> s a)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Data-Ix.html#t:Ix">Ix</a> a, <a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b) => <a href="Text-Show.html#t:Show">Show</a> (Array a b)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d, <a href="Text-Show.html#t:Show">Show</a> e) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d, e)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d, <a href="Text-Show.html#t:Show">Show</a> e, <a href="Text-Show.html#t:Show">Show</a> f) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d, e, f)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d, <a href="Text-Show.html#t:Show">Show</a> e, <a href="Text-Show.html#t:Show">Show</a> f, <a href="Text-Show.html#t:Show">Show</a> g) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d, e, f, g)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d, <a href="Text-Show.html#t:Show">Show</a> e, <a href="Text-Show.html#t:Show">Show</a> f, <a href="Text-Show.html#t:Show">Show</a> g, <a href="Text-Show.html#t:Show">Show</a> h) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d, e, f, g, h)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d, <a href="Text-Show.html#t:Show">Show</a> e, <a href="Text-Show.html#t:Show">Show</a> f, <a href="Text-Show.html#t:Show">Show</a> g, <a href="Text-Show.html#t:Show">Show</a> h, <a href="Text-Show.html#t:Show">Show</a> i) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d, e, f, g, h, i)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d, <a href="Text-Show.html#t:Show">Show</a> e, <a href="Text-Show.html#t:Show">Show</a> f, <a href="Text-Show.html#t:Show">Show</a> g, <a href="Text-Show.html#t:Show">Show</a> h, <a href="Text-Show.html#t:Show">Show</a> i, <a href="Text-Show.html#t:Show">Show</a> j) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d, e, f, g, h, i, j)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d, <a href="Text-Show.html#t:Show">Show</a> e, <a href="Text-Show.html#t:Show">Show</a> f, <a href="Text-Show.html#t:Show">Show</a> g, <a href="Text-Show.html#t:Show">Show</a> h, <a href="Text-Show.html#t:Show">Show</a> i, <a href="Text-Show.html#t:Show">Show</a> j, <a href="Text-Show.html#t:Show">Show</a> k) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d, e, f, g, h, i, j, k)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d, <a href="Text-Show.html#t:Show">Show</a> e, <a href="Text-Show.html#t:Show">Show</a> f, <a href="Text-Show.html#t:Show">Show</a> g, <a href="Text-Show.html#t:Show">Show</a> h, <a href="Text-Show.html#t:Show">Show</a> i, <a href="Text-Show.html#t:Show">Show</a> j, <a href="Text-Show.html#t:Show">Show</a> k, <a href="Text-Show.html#t:Show">Show</a> l) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d, e, f, g, h, i, j, k, l)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d, <a href="Text-Show.html#t:Show">Show</a> e, <a href="Text-Show.html#t:Show">Show</a> f, <a href="Text-Show.html#t:Show">Show</a> g, <a href="Text-Show.html#t:Show">Show</a> h, <a href="Text-Show.html#t:Show">Show</a> i, <a href="Text-Show.html#t:Show">Show</a> j, <a href="Text-Show.html#t:Show">Show</a> k, <a href="Text-Show.html#t:Show">Show</a> l, <a href="Text-Show.html#t:Show">Show</a> m) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d, e, f, g, h, i, j, k, l, m)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d, <a href="Text-Show.html#t:Show">Show</a> e, <a href="Text-Show.html#t:Show">Show</a> f, <a href="Text-Show.html#t:Show">Show</a> g, <a href="Text-Show.html#t:Show">Show</a> h, <a href="Text-Show.html#t:Show">Show</a> i, <a href="Text-Show.html#t:Show">Show</a> j, <a href="Text-Show.html#t:Show">Show</a> k, <a href="Text-Show.html#t:Show">Show</a> l, <a href="Text-Show.html#t:Show">Show</a> m, <a href="Text-Show.html#t:Show">Show</a> n) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d, e, f, g, h, i, j, k, l, m, n)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="Text-Show.html#t:Show">Show</a> a, <a href="Text-Show.html#t:Show">Show</a> b, <a href="Text-Show.html#t:Show">Show</a> c, <a href="Text-Show.html#t:Show">Show</a> d, <a href="Text-Show.html#t:Show">Show</a> e, <a href="Text-Show.html#t:Show">Show</a> f, <a href="Text-Show.html#t:Show">Show</a> g, <a href="Text-Show.html#t:Show">Show</a> h, <a href="Text-Show.html#t:Show">Show</a> i, <a href="Text-Show.html#t:Show">Show</a> j, <a href="Text-Show.html#t:Show">Show</a> k, <a href="Text-Show.html#t:Show">Show</a> l, <a href="Text-Show.html#t:Show">Show</a> m, <a href="Text-Show.html#t:Show">Show</a> n, <a href="Text-Show.html#t:Show">Show</a> o) => <a href="Text-Show.html#t:Show">Show</a> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:shows" class="def">shows</a> :: <a href="Text-Show.html#t:Show">Show</a> a => a -> <a href="Text-Show.html#t:ShowS">ShowS</a></p><div class="doc"><p>equivalent to <code><a href="Text-Show.html#v:showsPrec">showsPrec</a></code> with a precedence of 0. </p></div></div><div class="top"><p class="src"><a name="v:showChar" class="def">showChar</a> :: <a href="Data-Char.html#t:Char">Char</a> -> <a href="Text-Show.html#t:ShowS">ShowS</a></p><div class="doc"><p>utility function converting a <code><a href="Data-Char.html#t:Char">Char</a></code> to a show function that simply prepends the character unchanged. </p></div></div><div class="top"><p class="src"><a name="v:showString" class="def">showString</a> :: <a href="Data-String.html#t:String">String</a> -> <a href="Text-Show.html#t:ShowS">ShowS</a></p><div class="doc"><p>utility function converting a <code><a href="Data-String.html#t:String">String</a></code> to a show function that simply prepends the string unchanged. </p></div></div><div class="top"><p class="src"><a name="v:showParen" class="def">showParen</a> :: <a href="Data-Bool.html#t:Bool">Bool</a> -> <a href="Text-Show.html#t:ShowS">ShowS</a> -> <a href="Text-Show.html#t:ShowS">ShowS</a></p><div class="doc"><p>utility function that surrounds the inner show function with parentheses when the <code><a href="Data-Bool.html#t:Bool">Bool</a></code> parameter is <code><a href="Data-Bool.html#v:True">True</a></code>. </p></div></div><div class="top"><p class="src"><a name="v:showListWith" class="def">showListWith</a> :: (a -> <a href="Text-Show.html#t:ShowS">ShowS</a>) -> [a] -> <a href="Text-Show.html#t:ShowS">ShowS</a></p><div class="doc"><p>Show a list (using square brackets and commas), given a function for showing elements. </p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.11.0</p></div></body></html>