/usr/share/doc/libghc-foundation-doc/html/Foundation-Conduit-Textual.html is in libghc-foundation-doc 0.0.17-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 | <!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>Foundation.Conduit.Textual</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_Foundation-Conduit-Textual.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Foundation-Conduit-Textual.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">foundation-0.0.17: Alternative prelude with batteries and no dependencies</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Foundation.Conduit.Textual</p></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:lines">lines</a> :: <a href="Foundation.html#t:Monad">Monad</a> m => <a href="Foundation-Conduit.html#t:Conduit">Conduit</a> <a href="Foundation-String.html#t:String">String</a> <a href="Foundation-String.html#t:String">String</a> m ()</li><li class="src short"><a href="#v:words">words</a> :: <a href="Foundation.html#t:Monad">Monad</a> m => <a href="Foundation-Conduit.html#t:Conduit">Conduit</a> <a href="Foundation-String.html#t:String">String</a> <a href="Foundation-String.html#t:String">String</a> m ()</li><li class="src short"><a href="#v:fromBytes">fromBytes</a> :: <a href="Foundation-Monad.html#t:MonadThrow">MonadThrow</a> m => <a href="Foundation-String.html#t:Encoding">Encoding</a> -> <a href="Foundation-Conduit.html#t:Conduit">Conduit</a> (<a href="Foundation-Array-Internal.html#t:UArray">UArray</a> <a href="Foundation.html#t:Word8">Word8</a>) <a href="Foundation-String.html#t:String">String</a> m ()</li><li class="src short"><a href="#v:toBytes">toBytes</a> :: <a href="Foundation.html#t:Monad">Monad</a> m => <a href="Foundation-String.html#t:Encoding">Encoding</a> -> <a href="Foundation-Conduit.html#t:Conduit">Conduit</a> <a href="Foundation-String.html#t:String">String</a> (<a href="Foundation-Array-Internal.html#t:UArray">UArray</a> <a href="Foundation.html#t:Word8">Word8</a>) m ()</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:lines" class="def">lines</a> :: <a href="Foundation.html#t:Monad">Monad</a> m => <a href="Foundation-Conduit.html#t:Conduit">Conduit</a> <a href="Foundation-String.html#t:String">String</a> <a href="Foundation-String.html#t:String">String</a> m () <a href="src/Foundation-Conduit-Textual.html#lines" class="link">Source</a> <a href="#v:lines" class="selflink">#</a></p><div class="doc"><p>Split conduit of string to its lines</p><p>This is very similar to Prelude lines except
it work directly on Conduit</p><p>Note that if the newline character is not ever appearing in the stream,
this function will keep accumulating data until OOM</p><p>TODO: make a size-limited function</p></div></div><div class="top"><p class="src"><a id="v:words" class="def">words</a> :: <a href="Foundation.html#t:Monad">Monad</a> m => <a href="Foundation-Conduit.html#t:Conduit">Conduit</a> <a href="Foundation-String.html#t:String">String</a> <a href="Foundation-String.html#t:String">String</a> m () <a href="src/Foundation-Conduit-Textual.html#words" class="link">Source</a> <a href="#v:words" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:fromBytes" class="def">fromBytes</a> :: <a href="Foundation-Monad.html#t:MonadThrow">MonadThrow</a> m => <a href="Foundation-String.html#t:Encoding">Encoding</a> -> <a href="Foundation-Conduit.html#t:Conduit">Conduit</a> (<a href="Foundation-Array-Internal.html#t:UArray">UArray</a> <a href="Foundation.html#t:Word8">Word8</a>) <a href="Foundation-String.html#t:String">String</a> m () <a href="src/Foundation-Conduit-Textual.html#fromBytes" class="link">Source</a> <a href="#v:fromBytes" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:toBytes" class="def">toBytes</a> :: <a href="Foundation.html#t:Monad">Monad</a> m => <a href="Foundation-String.html#t:Encoding">Encoding</a> -> <a href="Foundation-Conduit.html#t:Conduit">Conduit</a> <a href="Foundation-String.html#t:String">String</a> (<a href="Foundation-Array-Internal.html#t:UArray">UArray</a> <a href="Foundation.html#t:Word8">Word8</a>) m () <a href="src/Foundation-Conduit-Textual.html#toBytes" class="link">Source</a> <a href="#v:toBytes" class="selflink">#</a></p></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>
|