/usr/share/doc/libghc-text-doc/html/Data-Text-Lazy-Builder-RealFloat.html is in libghc-text-doc 0.11.3.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 | <!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.Text.Lazy.Builder.RealFloat</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_Data-Text-Lazy-Builder-RealFloat.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Text-Lazy-Builder-RealFloat.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">text-0.11.3.1: An efficient packed Unicode text type.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Data.Text.Lazy.Builder.RealFloat</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Write a floating point value to a <code><a href="Data-Text-Lazy-Builder.html#t:Builder">Builder</a></code>.
</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:FPFormat">FPFormat</a> <ul class="subs"><li>= <a href="#v:Exponent">Exponent</a> </li><li>| <a href="#v:Fixed">Fixed</a> </li><li>| <a href="#v:Generic">Generic</a> </li></ul></li><li class="src short"><a href="#v:realFloat">realFloat</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:RealFloat">RealFloat</a> a => a -> <a href="Data-Text-Lazy-Builder.html#t:Builder">Builder</a></li><li class="src short"><a href="#v:formatRealFloat">formatRealFloat</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:RealFloat">RealFloat</a> a => <a href="Data-Text-Lazy-Builder-RealFloat.html#t:FPFormat">FPFormat</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> a -> <a href="Data-Text-Lazy-Builder.html#t:Builder">Builder</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FPFormat" class="def">FPFormat</a> <a href="src/Data-Text-Lazy-Builder-RealFloat.html#FPFormat" class="link">Source</a></p><div class="doc"><p>Control the rendering of floating point numbers.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Exponent" class="def">Exponent</a></td><td class="doc"><p>Scientific notation (e.g. <code>2.3e123</code>).
</p></td></tr><tr><td class="src"><a name="v:Fixed" class="def">Fixed</a></td><td class="doc"><p>Standard decimal notation.
</p></td></tr><tr><td class="src"><a name="v:Generic" class="def">Generic</a></td><td class="doc"><p>Use decimal notation for values between <code>0.1</code> and
<code>9,999,999</code>, and scientific notation otherwise.
</p></td></tr></table></div><div class="subs instances"><p id="control.i:FPFormat" class="caption collapser" onclick="toggleSection('i:FPFormat')">Instances</p><div id="section.i:FPFormat" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Enum">Enum</a> <a href="Data-Text-Lazy-Builder-RealFloat.html#t:FPFormat">FPFormat</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Read.html#t:Read">Read</a> <a href="Data-Text-Lazy-Builder-RealFloat.html#t:FPFormat">FPFormat</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Data-Text-Lazy-Builder-RealFloat.html#t:FPFormat">FPFormat</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:realFloat" class="def">realFloat</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:RealFloat">RealFloat</a> a => a -> <a href="Data-Text-Lazy-Builder.html#t:Builder">Builder</a><a href="src/Data-Text-Lazy-Builder-RealFloat.html#realFloat" class="link">Source</a></p><div class="doc"><p>Show a signed <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:RealFloat">RealFloat</a></code> value to full precision,
using standard decimal notation for arguments whose absolute value lies
between <code>0.1</code> and <code>9,999,999</code>, and scientific notation otherwise.
</p></div></div><div class="top"><p class="src"><a name="v:formatRealFloat" class="def">formatRealFloat</a><a href="src/Data-Text-Lazy-Builder-RealFloat.html#formatRealFloat" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:RealFloat">RealFloat</a> a</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="Data-Text-Lazy-Builder-RealFloat.html#t:FPFormat">FPFormat</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>Number of decimal places to render.
</p></td></tr><tr><td class="src">-> a</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Data-Text-Lazy-Builder.html#t:Builder">Builder</a></td><td class="doc empty"> </td></tr></table></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>
|