This file is indexed.

/usr/share/doc/libghc-text-doc/html/Data-Text-Internal-Lazy-Fusion.html is in libghc-text-doc 1.2.2.2-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.Fusion</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-Text-Internal-Lazy-Fusion.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Text-Internal-Lazy-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.2: An efficient packed Unicode text type.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">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>GHC</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.Fusion</p></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>Core stream fusion functionality for text.</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:stream">stream</a> :: <a href="Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Data-Text-Lazy.html#t:Text">Text</a></li><li class="src short"><a href="#v:unstreamChunks">unstreamChunks</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Data-Text-Lazy.html#t:Text">Text</a></li><li class="src short"><a href="#v:length">length</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.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a></li><li class="src short"><a href="#v:unfoldrN">unfoldrN</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a> -&gt; (a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a>, a)) -&gt; a -&gt; <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:index">index</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.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:countChar">countChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:stream" class="def">stream</a> :: <a href="Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</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="src/Data-Text-Internal-Lazy-Fusion.html#stream" class="link">Source</a> <a href="#v:stream" class="selflink">#</a></p><div class="doc"><p><em>O(n)</em> Convert a <code><a href="Data-Text-Lazy.html#t:Text">Text</a></code> into a 'Stream Char'.</p></div></div><div class="top"><p class="src"><a id="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.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Text-Internal-Lazy-Fusion.html#unstream" class="link">Source</a> <a href="#v:unstream" class="selflink">#</a></p><div class="doc"><p><em>O(n)</em> Convert a 'Stream Char' into a <code><a href="Data-Text-Lazy.html#t:Text">Text</a></code>, using
 <code><a href="Data-Text-Internal-Lazy.html#v:defaultChunkSize">defaultChunkSize</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:unstreamChunks" class="def">unstreamChunks</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Text-Internal-Lazy-Fusion.html#unstreamChunks" class="link">Source</a> <a href="#v:unstreamChunks" class="selflink">#</a></p><div class="doc"><p><em>O(n)</em> Convert a 'Stream Char' into a <code><a href="Data-Text-Lazy.html#t:Text">Text</a></code>, using the given
 chunk size.</p></div></div><div class="top"><p class="src"><a id="v:length" class="def">length</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.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a> <a href="src/Data-Text-Internal-Lazy-Fusion.html#length" class="link">Source</a> <a href="#v:length" class="selflink">#</a></p><div class="doc"><p><em>O(n)</em> Returns the number of characters in a text.</p></div></div><div class="top"><p class="src"><a id="v:unfoldrN" class="def">unfoldrN</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a> -&gt; (a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a>, a)) -&gt; a -&gt; <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</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="src/Data-Text-Internal-Lazy-Fusion.html#unfoldrN" class="link">Source</a> <a href="#v:unfoldrN" class="selflink">#</a></p><div class="doc"><p><em>O(n)</em> Like <code>unfoldr</code>, <code><a href="Data-Text-Internal-Lazy-Fusion.html#v:unfoldrN">unfoldrN</a></code> builds a stream from a seed
 value. However, the length of the result is limited by the
 first argument to <code><a href="Data-Text-Internal-Lazy-Fusion.html#v:unfoldrN">unfoldrN</a></code>. This function is more efficient than
 <code>unfoldr</code> when the length of the result is known.</p></div></div><div class="top"><p class="src"><a id="v:index" class="def">index</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.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Data-Text-Internal-Lazy-Fusion.html#index" class="link">Source</a> <a href="#v:index" class="selflink">#</a></p><div class="doc"><p><em>O(n)</em> stream index (subscript) operator, starting from 0.</p></div></div><div class="top"><p class="src"><a id="v:countChar" class="def">countChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Data-Text-Internal-Fusion-Types.html#t:Stream">Stream</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a> <a href="src/Data-Text-Internal-Lazy-Fusion.html#countChar" class="link">Source</a> <a href="#v:countChar" class="selflink">#</a></p><div class="doc"><p><em>O(n)</em> The <code>count</code> function returns the number of times the query
 element appears in the given stream.</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>