/usr/share/doc/libghc-text-show-doc/html/index.html is in libghc-text-show-doc 3.6-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 | <!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-3.6: Efficient conversion of values into Text</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();};
//]]>
</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">text-show-3.6: Efficient conversion of values into Text</p></div><div id="content"><div id="description"><h1>text-show-3.6: Efficient conversion of values into Text</h1><div class="doc"><p><code>text-show</code> offers a replacement for the <code>Show</code> typeclass intended
for use with <code>Text</code> instead of <code>String</code>s. This package was created
in the spirit of
<code><a href="http://hackage.haskell.org/package/bytestring-show">bytestring-show</a></code>.</p><p>At the moment, <code>text-show</code> provides instances for most data
types in the <code><a href="http://hackage.haskell.org/package/array">array</a></code>,
<code><a href="http://hackage.haskell.org/package/base">base</a></code>,
<code><a href="http://hackage.haskell.org/package/bytestring">bytestring</a></code>, and
<code><a href="http://hackage.haskell.org/package/text">text</a></code> packages.
Therefore, much of the source code for <code>text-show</code> consists of
borrowed code from those packages in order to ensure that the
behaviors of <code>Show</code> and <code>TextShow</code> coincide.</p><p>For most uses, simply importing <a href="TextShow.html">TextShow</a>
will suffice:</p><pre>module Main where
import TextShow
main :: IO ()
main = printT (Just "Hello, World!")
</pre><p>If you desire it, there are also monomorphic versions of the <code>showb</code>
function available in the submodules of <a href="TextShow.html">TextShow</a>. See the
<a href="https://github.com/RyanGlScott/text-show/wiki/Naming-conventions">naming conventions</a>
page for more information.</p><p>Support for automatically deriving <code>TextShow</code> instances can be found
in the <a href="TextShow-TH.html">TextShow.TH</a> and <a href="TextShow-Generic.html">TextShow.Generic</a> modules.</p></div></div><div id="module-list"><p class="caption">Modules</p><ul><li><span class="module"><span id="control.n.1" class="collapser" onclick="toggleSection('n.1')"> </span><a href="TextShow.html">TextShow</a></span><ul id="section.n.1" class="show"><li><span id="control.n.1.1" class="module collapser" onclick="toggleSection('n.1.1')">Control</span><ul id="section.n.1.1" class="show"><li><span class="module"><a href="TextShow-Control-Applicative.html">TextShow.Control.Applicative</a></span></li><li><span class="module"><a href="TextShow-Control-Concurrent.html">TextShow.Control.Concurrent</a></span></li><li><span class="module"><a href="TextShow-Control-Exception.html">TextShow.Control.Exception</a></span></li><li><span id="control.n.1.1.4" class="module collapser" onclick="toggleSection('n.1.1.4')">Monad</span><ul id="section.n.1.1.4" class="show"><li><span class="module"><a href="TextShow-Control-Monad-ST.html">TextShow.Control.Monad.ST</a></span></li></ul></li></ul></li><li><span id="control.n.1.2" class="module collapser" onclick="toggleSection('n.1.2')">Data</span><ul id="section.n.1.2" class="show"><li><span class="module"><a href="TextShow-Data-Array.html">TextShow.Data.Array</a></span></li><li><span class="module"><a href="TextShow-Data-Bool.html">TextShow.Data.Bool</a></span></li><li><span class="module"><a href="TextShow-Data-ByteString.html">TextShow.Data.ByteString</a></span></li><li><span class="module"><a href="TextShow-Data-Char.html">TextShow.Data.Char</a></span></li><li><span class="module"><a href="TextShow-Data-Complex.html">TextShow.Data.Complex</a></span></li><li><span class="module"><a href="TextShow-Data-Data.html">TextShow.Data.Data</a></span></li><li><span class="module"><a href="TextShow-Data-Dynamic.html">TextShow.Data.Dynamic</a></span></li><li><span class="module"><a href="TextShow-Data-Either.html">TextShow.Data.Either</a></span></li><li><span class="module"><a href="TextShow-Data-Fixed.html">TextShow.Data.Fixed</a></span></li><li><span class="module"><a href="TextShow-Data-Floating.html">TextShow.Data.Floating</a></span></li><li><span id="control.n.1.2.11" class="module collapser" onclick="toggleSection('n.1.2.11')">Functor</span><ul id="section.n.1.2.11" class="show"><li><span class="module"><a href="TextShow-Data-Functor-Compose.html">TextShow.Data.Functor.Compose</a></span></li><li><span class="module"><a href="TextShow-Data-Functor-Identity.html">TextShow.Data.Functor.Identity</a></span></li><li><span class="module"><a href="TextShow-Data-Functor-Product.html">TextShow.Data.Functor.Product</a></span></li><li><span class="module"><a href="TextShow-Data-Functor-Sum.html">TextShow.Data.Functor.Sum</a></span></li></ul></li><li><span class="module"><a href="TextShow-Data-Integral.html">TextShow.Data.Integral</a></span></li><li><span class="module"><span id="control.n.1.2.13" class="collapser" onclick="toggleSection('n.1.2.13')"> </span><a href="TextShow-Data-List.html">TextShow.Data.List</a></span><ul id="section.n.1.2.13" class="show"><li><span class="module"><a href="TextShow-Data-List-NonEmpty.html">TextShow.Data.List.NonEmpty</a></span></li></ul></li><li><span class="module"><a href="TextShow-Data-Maybe.html">TextShow.Data.Maybe</a></span></li><li><span class="module"><a href="TextShow-Data-Monoid.html">TextShow.Data.Monoid</a></span></li><li><span class="module"><a href="TextShow-Data-OldTypeable.html">TextShow.Data.OldTypeable</a></span></li><li><span class="module"><a href="TextShow-Data-Ord.html">TextShow.Data.Ord</a></span></li><li><span class="module"><a href="TextShow-Data-Proxy.html">TextShow.Data.Proxy</a></span></li><li><span class="module"><a href="TextShow-Data-Ratio.html">TextShow.Data.Ratio</a></span></li><li><span class="module"><a href="TextShow-Data-Semigroup.html">TextShow.Data.Semigroup</a></span></li><li><span class="module"><a href="TextShow-Data-Text.html">TextShow.Data.Text</a></span></li><li><span class="module"><a href="TextShow-Data-Tuple.html">TextShow.Data.Tuple</a></span></li><li><span id="control.n.1.2.23" class="module collapser" onclick="toggleSection('n.1.2.23')">Type</span><ul id="section.n.1.2.23" class="show"><li><span class="module"><a href="TextShow-Data-Type-Coercion.html">TextShow.Data.Type.Coercion</a></span></li><li><span class="module"><a href="TextShow-Data-Type-Equality.html">TextShow.Data.Type.Equality</a></span></li></ul></li><li><span class="module"><a href="TextShow-Data-Typeable.html">TextShow.Data.Typeable</a></span></li><li><span class="module"><a href="TextShow-Data-Version.html">TextShow.Data.Version</a></span></li><li><span class="module"><a href="TextShow-Data-Void.html">TextShow.Data.Void</a></span></li></ul></li><li><span id="control.n.1.3" class="module collapser" onclick="toggleSection('n.1.3')">Debug</span><ul id="section.n.1.3" class="show"><li><span class="module"><span id="control.n.1.3.1" class="collapser" onclick="toggleSection('n.1.3.1')"> </span><a href="TextShow-Debug-Trace.html">TextShow.Debug.Trace</a></span><ul id="section.n.1.3.1" class="show"><li><span class="module"><a href="TextShow-Debug-Trace-Generic.html">TextShow.Debug.Trace.Generic</a></span></li><li><span class="module"><a href="TextShow-Debug-Trace-TH.html">TextShow.Debug.Trace.TH</a></span></li></ul></li></ul></li><li><span id="control.n.1.4" class="module collapser" onclick="toggleSection('n.1.4')">Foreign</span><ul id="section.n.1.4" class="show"><li><span id="control.n.1.4.1" class="module collapser" onclick="toggleSection('n.1.4.1')">C</span><ul id="section.n.1.4.1" class="show"><li><span class="module"><a href="TextShow-Foreign-C-Types.html">TextShow.Foreign.C.Types</a></span></li></ul></li><li><span class="module"><a href="TextShow-Foreign-Ptr.html">TextShow.Foreign.Ptr</a></span></li></ul></li><li><span class="module"><a href="TextShow-Functions.html">TextShow.Functions</a></span></li><li><span id="control.n.1.6" class="module collapser" onclick="toggleSection('n.1.6')">GHC</span><ul id="section.n.1.6" class="show"><li><span id="control.n.1.6.1" class="module collapser" onclick="toggleSection('n.1.6.1')">Conc</span><ul id="section.n.1.6.1" class="show"><li><span class="module"><a href="TextShow-GHC-Conc-Windows.html">TextShow.GHC.Conc.Windows</a></span></li></ul></li><li><span class="module"><a href="TextShow-GHC-Event.html">TextShow.GHC.Event</a></span></li><li><span class="module"><a href="TextShow-GHC-Fingerprint.html">TextShow.GHC.Fingerprint</a></span></li><li><span class="module"><a href="TextShow-GHC-Generics.html">TextShow.GHC.Generics</a></span></li><li><span id="control.n.1.6.5" class="module collapser" onclick="toggleSection('n.1.6.5')">RTS</span><ul id="section.n.1.6.5" class="show"><li><span class="module"><a href="TextShow-GHC-RTS-Flags.html">TextShow.GHC.RTS.Flags</a></span></li></ul></li><li><span class="module"><a href="TextShow-GHC-Stack.html">TextShow.GHC.Stack</a></span></li><li><span class="module"><a href="TextShow-GHC-StaticPtr.html">TextShow.GHC.StaticPtr</a></span></li><li><span class="module"><a href="TextShow-GHC-Stats.html">TextShow.GHC.Stats</a></span></li><li><span class="module"><a href="TextShow-GHC-TypeLits.html">TextShow.GHC.TypeLits</a></span></li></ul></li><li><span class="module"><a href="TextShow-Generic.html">TextShow.Generic</a></span></li><li><span id="control.n.1.8" class="module collapser" onclick="toggleSection('n.1.8')">Numeric</span><ul id="section.n.1.8" class="show"><li><span class="module"><a href="TextShow-Numeric-Natural.html">TextShow.Numeric.Natural</a></span></li></ul></li><li><span id="control.n.1.9" class="module collapser" onclick="toggleSection('n.1.9')">System</span><ul id="section.n.1.9" class="show"><li><span class="module"><a href="TextShow-System-Exit.html">TextShow.System.Exit</a></span></li><li><span class="module"><a href="TextShow-System-IO.html">TextShow.System.IO</a></span></li><li><span id="control.n.1.9.3" class="module collapser" onclick="toggleSection('n.1.9.3')">Posix</span><ul id="section.n.1.9.3" class="show"><li><span class="module"><a href="TextShow-System-Posix-Types.html">TextShow.System.Posix.Types</a></span></li></ul></li></ul></li><li><span class="module"><a href="TextShow-TH.html">TextShow.TH</a></span></li><li><span id="control.n.1.11" class="module collapser" onclick="toggleSection('n.1.11')">Text</span><ul id="section.n.1.11" class="show"><li><span class="module"><a href="TextShow-Text-Read.html">TextShow.Text.Read</a></span></li></ul></li></ul></li></ul></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>
|