/usr/share/doc/libghc-blaze-builder-doc/html/Blaze-ByteString-Builder-Char8.html is in libghc-blaze-builder-doc 0.4.0.2-3build2.
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 | <!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>Blaze.ByteString.Builder.Char8</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_Blaze-ByteString-Builder-Char8.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Blaze-ByteString-Builder-Char8.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">blaze-builder-0.4.0.2: Efficient buffered output.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) 2013 Leon P Smith</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>Leon P Smith <leon@melding-monads.com></td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Blaze.ByteString.Builder.Char8</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Writing Latin-1 (ISO 8859-1) encodable characters to a buffer</a></li><li><a href="#g:2">Creating Builders from Latin-1 (ISO 8859-1) encodable characters</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>/<em>Note:</em>/ This package is intended for low-level use like implementing
protocols. If you need to /<em>serialize</em>/ Unicode characters use one of the
UTF encodings (e.g. 'Blaze.ByteString.Builder.Char.UTF-8').</p><p><code><a href="Blaze-ByteString-Builder-Internal-Write.html#t:Write">Write</a></code>s and <code><a href="Blaze-ByteString-Builder.html#t:Builder">Builder</a></code>s for serializing the lower 8-bits of characters.</p><p>This corresponds to what the <code>bytestring</code> package offer in
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#v:Char8">Char8</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"><a href="#v:writeChar">writeChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> <a href="Blaze-ByteString-Builder-Internal-Write.html#t:Write">Write</a></li><li class="src short"><a href="#v:fromChar">fromChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> <a href="Blaze-ByteString-Builder.html#t:Builder">Builder</a></li><li class="src short"><a href="#v:fromString">fromString</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="Blaze-ByteString-Builder.html#t:Builder">Builder</a></li><li class="src short"><a href="#v:fromShow">fromShow</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => a -> <a href="Blaze-ByteString-Builder.html#t:Builder">Builder</a></li><li class="src short"><a href="#v:fromText">fromText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -> <a href="Blaze-ByteString-Builder.html#t:Builder">Builder</a></li><li class="src short"><a href="#v:fromLazyText">fromLazyText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -> <a href="Blaze-ByteString-Builder.html#t:Builder">Builder</a></li></ul></div><div id="interface"><h1 id="g:1">Writing Latin-1 (ISO 8859-1) encodable characters to a buffer</h1><div class="top"><p class="src"><a id="v:writeChar" class="def">writeChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> <a href="Blaze-ByteString-Builder-Internal-Write.html#t:Write">Write</a> <a href="src/Blaze-ByteString-Builder-Char8.html#writeChar" class="link">Source</a> <a href="#v:writeChar" class="selflink">#</a></p><div class="doc"><p>Write the lower 8-bits of a character to a buffer.</p></div></div><h1 id="g:2">Creating Builders from Latin-1 (ISO 8859-1) encodable characters</h1><div class="top"><p class="src"><a id="v:fromChar" class="def">fromChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> <a href="Blaze-ByteString-Builder.html#t:Builder">Builder</a> <a href="src/Blaze-ByteString-Builder-Char8.html#fromChar" class="link">Source</a> <a href="#v:fromChar" class="selflink">#</a></p><div class="doc"><p><em>O(1)</em>. Serialize the lower 8-bits of a character.</p></div></div><div class="top"><p class="src"><a id="v:fromString" class="def">fromString</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="Blaze-ByteString-Builder.html#t:Builder">Builder</a> <a href="src/Blaze-ByteString-Builder-Char8.html#fromString" class="link">Source</a> <a href="#v:fromString" class="selflink">#</a></p><div class="doc"><p><em>O(n)</em>. Serialize the lower 8-bits of all characters of a string</p></div></div><div class="top"><p class="src"><a id="v:fromShow" class="def">fromShow</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => a -> <a href="Blaze-ByteString-Builder.html#t:Builder">Builder</a> <a href="src/Blaze-ByteString-Builder-Char8.html#fromShow" class="link">Source</a> <a href="#v:fromShow" class="selflink">#</a></p><div class="doc"><p><em>O(n)</em>. Serialize a value by <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a></code>ing it and serializing the lower 8-bits
of the resulting string.</p></div></div><div class="top"><p class="src"><a id="v:fromText" class="def">fromText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -> <a href="Blaze-ByteString-Builder.html#t:Builder">Builder</a> <a href="src/Blaze-ByteString-Builder-Char8.html#fromText" class="link">Source</a> <a href="#v:fromText" class="selflink">#</a></p><div class="doc"><p><em>O(n)</em>. Serialize the lower 8-bits of all characters in the strict text.</p></div></div><div class="top"><p class="src"><a id="v:fromLazyText" class="def">fromLazyText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -> <a href="Blaze-ByteString-Builder.html#t:Builder">Builder</a> <a href="src/Blaze-ByteString-Builder-Char8.html#fromLazyText" class="link">Source</a> <a href="#v:fromLazyText" class="selflink">#</a></p><div class="doc"><p><em>O(n)</em>. Serialize the lower 8-bits of all characters in the lazy text.</p></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>
|