/usr/share/doc/libghc-swish-doc/html/Data-String-ShowLines.html is in libghc-swish-doc 0.9.1.10-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 | <!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>Data.String.ShowLines</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_Data-String-ShowLines.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-String-ShowLines.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">swish-0.9.1.10: A semantic web toolkit.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) 2003 Graham Klyne 2009 Vasili I Galchin 2011 2012 Douglas Burke</td></tr><tr><th>License</th><td>GPL V2</td></tr><tr><th>Maintainer</th><td>Douglas Burke</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>H98</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Data.String.ShowLines</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module defines an extension of the <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a></code> class for displaying
multi-line values. It serves the following purposes:</p><ol><li>provides a method with greater layout control of multiline values,</li><li>provides a possibility to override the default <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a></code> behaviour
for programs that use the extended <code><a href="Data-String-ShowLines.html#t:ShowLines">ShowLines</a></code> interface, and</li><li>uses a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a></code> intermediate value to avoid unnecessary
concatenation of long strings.</li></ol></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">class</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> sh => <a href="#t:ShowLines">ShowLines</a> sh <span class="keyword">where</span><ul class="subs"></ul></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> sh => <a id="t:ShowLines" class="def">ShowLines</a> sh <span class="keyword">where</span> <a href="src/Data-String-ShowLines.html#ShowLines" class="link">Source</a> <a href="#t:ShowLines" class="selflink">#</a></p><div class="doc"><p>ShowLines is a type class for values that may be formatted in
multi-line displays.</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:showls" class="def">showls</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -> sh -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-String-ShowLines.html#showls" class="link">Source</a> <a href="#v:showls" class="selflink">#</a></p><div class="doc"><p>Multi-line value display method</p><p>Create a multiline displayable form of a value, returned
as a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a></code> value. The default implementation behaves just
like a normal instance of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a></code>.</p><p>This function is intended to allow the calling function some control
of multiline displays by providing:</p><ol><li>the first line of the value is not preceded by any text, so
it may be appended to some preceding text on the same line,</li><li>the supplied line break string is used to separate lines of the
formatted text, and may include any desired indentation, and</li><li>no newline is output following the final line of text.</li></ol></div></div></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>
|