/usr/share/doc/libghc-text-doc/html/Data-Text-Internal-Lazy-Encoding-Fusion.html is in libghc-text-doc 1.2.2.0-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 | <!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.Internal.Lazy.Encoding.Fusion</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-Internal-Lazy-Encoding-Fusion.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Text-Internal-Lazy-Encoding-Fusion.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-1.2.2.0: An efficient packed Unicode text type.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) 2009, 2010 Bryan O'Sullivan</td></tr><tr><th>License</th><td>BSD-style</td></tr><tr><th>Maintainer</th><td>bos@serpentine.com</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Data.Text.Internal.Lazy.Encoding.Fusion</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Streaming</a></li><li><a href="#g:2">Unstreaming</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p><em>Warning</em>: this is an internal module, and does not have a stable
API or name. Functions in this module may not check or enforce
preconditions expected by public modules. Use at your own risk!</p><p>Fusible <code><a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a></code>-oriented functions for converting between lazy
<code>Text</code> and several common encodings.</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:streamUtf8">streamUtf8</a> :: <a href="Data-Text-Encoding-Error.html#t:OnDecodeError">OnDecodeError</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:streamUtf16LE">streamUtf16LE</a> :: <a href="Data-Text-Encoding-Error.html#t:OnDecodeError">OnDecodeError</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:streamUtf16BE">streamUtf16BE</a> :: <a href="Data-Text-Encoding-Error.html#t:OnDecodeError">OnDecodeError</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:streamUtf32LE">streamUtf32LE</a> :: <a href="Data-Text-Encoding-Error.html#t:OnDecodeError">OnDecodeError</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:streamUtf32BE">streamUtf32BE</a> :: <a href="Data-Text-Encoding-Error.html#t:OnDecodeError">OnDecodeError</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:unstream">unstream</a> :: <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Word.html#t:Word8">Word8</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></li><li class="src short">module <a href="Data-Text-Internal-Encoding-Fusion-Common.html">Data.Text.Internal.Encoding.Fusion.Common</a></li></ul></div><div id="interface"><h1 id="g:1">Streaming</h1><div class="top"><p class="src"><a name="v:streamUtf8" class="def">streamUtf8</a> :: <a href="Data-Text-Encoding-Error.html#t:OnDecodeError">OnDecodeError</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Char.html#t:Char">Char</a> <a href="src/Data-Text-Internal-Lazy-Encoding-Fusion.html#streamUtf8" class="link">Source</a></p><div class="doc"><p><em>O(n)</em> Convert a lazy <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></code> into a 'Stream Char', using
UTF-8 encoding.</p></div></div><div class="top"><p class="src"><a name="v:streamUtf16LE" class="def">streamUtf16LE</a> :: <a href="Data-Text-Encoding-Error.html#t:OnDecodeError">OnDecodeError</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Char.html#t:Char">Char</a> <a href="src/Data-Text-Internal-Lazy-Encoding-Fusion.html#streamUtf16LE" class="link">Source</a></p><div class="doc"><p><em>O(n)</em> Convert a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></code> into a 'Stream Char', using little
endian UTF-16 encoding.</p></div></div><div class="top"><p class="src"><a name="v:streamUtf16BE" class="def">streamUtf16BE</a> :: <a href="Data-Text-Encoding-Error.html#t:OnDecodeError">OnDecodeError</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Char.html#t:Char">Char</a> <a href="src/Data-Text-Internal-Lazy-Encoding-Fusion.html#streamUtf16BE" class="link">Source</a></p><div class="doc"><p><em>O(n)</em> Convert a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></code> into a 'Stream Char', using big
endian UTF-16 encoding.</p></div></div><div class="top"><p class="src"><a name="v:streamUtf32LE" class="def">streamUtf32LE</a> :: <a href="Data-Text-Encoding-Error.html#t:OnDecodeError">OnDecodeError</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Char.html#t:Char">Char</a> <a href="src/Data-Text-Internal-Lazy-Encoding-Fusion.html#streamUtf32LE" class="link">Source</a></p><div class="doc"><p><em>O(n)</em> Convert a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></code> into a 'Stream Char', using little
endian UTF-32 encoding.</p></div></div><div class="top"><p class="src"><a name="v:streamUtf32BE" class="def">streamUtf32BE</a> :: <a href="Data-Text-Encoding-Error.html#t:OnDecodeError">OnDecodeError</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -> <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Char.html#t:Char">Char</a> <a href="src/Data-Text-Internal-Lazy-Encoding-Fusion.html#streamUtf32BE" class="link">Source</a></p><div class="doc"><p><em>O(n)</em> Convert a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></code> into a 'Stream Char', using big
endian UTF-32 encoding.</p></div></div><h1 id="g:2">Unstreaming</h1><div class="top"><p class="src"><a name="v:unstream" class="def">unstream</a> :: <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Word.html#t:Word8">Word8</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Text-Internal-Lazy-Encoding-Fusion.html#unstream" class="link">Source</a></p><div class="doc"><p><em>O(n)</em> Convert a <code><a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Word.html#t:Word8">Word8</a></code> to a lazy <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></code>.</p></div></div><div class="top"><p class="src">module <a href="Data-Text-Internal-Encoding-Fusion-Common.html">Data.Text.Internal.Encoding.Fusion.Common</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|