/usr/share/doc/libghc-conduit-extra-doc/html/Data-Conduit-Text.html is in libghc-conduit-extra-doc 1.1.3-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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | <!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.Conduit.Text</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-Conduit-Text.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Conduit-Text.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">conduit-extra-1.1.3: Batteries included conduit: adapters for common libraries.</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.Conduit.Text</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Text codecs
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Handle streams of text.
</p><p>Parts of this code were taken from enumerator and adapted for conduits.
</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:Codec">Codec</a> </li><li class="src short"><a href="#v:encode">encode</a> :: <a href="/usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadThrow">MonadThrow</a> m => <a href="Data-Conduit-Text.html#t:Codec">Codec</a> -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:decode">decode</a> :: <a href="/usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadThrow">MonadThrow</a> m => <a href="Data-Conduit-Text.html#t:Codec">Codec</a> -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a></li><li class="src short"><a href="#v:utf8">utf8</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a></li><li class="src short"><a href="#v:utf16_le">utf16_le</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a></li><li class="src short"><a href="#v:utf16_be">utf16_be</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a></li><li class="src short"><a href="#v:utf32_le">utf32_le</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a></li><li class="src short"><a href="#v:utf32_be">utf32_be</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a></li><li class="src short"><a href="#v:ascii">ascii</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a></li><li class="src short"><a href="#v:iso8859_1">iso8859_1</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a></li><li class="src short"><a href="#v:lines">lines</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a></li><li class="src short"><a href="#v:linesBounded">linesBounded</a> :: <a href="/usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadThrow">MonadThrow</a> m => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:TextException">TextException</a> <ul class="subs"><li>= <a href="#v:DecodeException">DecodeException</a> <a href="Data-Conduit-Text.html#t:Codec">Codec</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Word.html#t:Word8">Word8</a> </li><li>| <a href="#v:EncodeException">EncodeException</a> <a href="Data-Conduit-Text.html#t:Codec">Codec</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a> </li><li>| <a href="#v:LengthExceeded">LengthExceeded</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> </li><li>| <a href="#v:TextException">TextException</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Exception-Base.html#t:SomeException">SomeException</a> </li><li>| <a href="#v:NewDecodeException">NewDecodeException</a> !<a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> !<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> !<a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> </li></ul></li><li class="src short"><a href="#v:takeWhile">takeWhile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a></li><li class="src short"><a href="#v:dropWhile">dropWhile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Consumer">Consumer</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m ()</li><li class="src short"><a href="#v:take">take</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a></li><li class="src short"><a href="#v:drop">drop</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Consumer">Consumer</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m ()</li><li class="src short"><a href="#v:foldLines">foldLines</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => (a -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:ConduitM">ConduitM</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> o m a) -> a -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:ConduitM">ConduitM</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> o m a</li><li class="src short"><a href="#v:withLine">withLine</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Sink">Sink</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m a -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Consumer">Consumer</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> a)</li><li class="src short"><a href="#v:decodeUtf8">decodeUtf8</a> :: <a href="/usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadThrow">MonadThrow</a> m => <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a></li><li class="src short"><a href="#v:decodeUtf8Lenient">decodeUtf8Lenient</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a></li><li class="src short"><a href="#v:encodeUtf8">encodeUtf8</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a></li></ul></div><div id="interface"><h1 id="g:1">Text codecs
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Codec" class="def">Codec</a> <a href="src/Data-Conduit-Text.html#Codec" class="link">Source</a></p><div class="doc"><p>A specific character encoding.
</p><p>Since 0.3.0
</p></div><div class="subs instances"><p id="control.i:Codec" class="caption collapser" onclick="toggleSection('i:Codec')">Instances</p><div id="section.i:Codec" class="show"><table><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-Conduit-Text.html#t:Codec">Codec</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:encode" class="def">encode</a> :: <a href="/usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadThrow">MonadThrow</a> m => <a href="Data-Conduit-Text.html#t:Codec">Codec</a> -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a><a href="src/Data-Conduit-Text.html#encode" class="link">Source</a></p><div class="doc"><p>Convert text into bytes, using the provided codec. If the codec is
not capable of representing an input character, an exception will be thrown.
</p><p>Since 0.3.0
</p></div></div><div class="top"><p class="src"><a name="v:decode" class="def">decode</a> :: <a href="/usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadThrow">MonadThrow</a> m => <a href="Data-Conduit-Text.html#t:Codec">Codec</a> -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a><a href="src/Data-Conduit-Text.html#decode" class="link">Source</a></p><div class="doc"><p>Convert bytes into text, using the provided codec. If the codec is
not capable of decoding an input byte sequence, an exception will be thrown.
</p><p>Since 0.3.0
</p></div></div><div class="top"><p class="src"><a name="v:utf8" class="def">utf8</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a><a href="src/Data-Conduit-Text.html#utf8" class="link">Source</a></p><div class="doc"><p>Since 0.3.0
</p></div></div><div class="top"><p class="src"><a name="v:utf16_le" class="def">utf16_le</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a><a href="src/Data-Conduit-Text.html#utf16_le" class="link">Source</a></p><div class="doc"><p>Since 0.3.0
</p></div></div><div class="top"><p class="src"><a name="v:utf16_be" class="def">utf16_be</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a><a href="src/Data-Conduit-Text.html#utf16_be" class="link">Source</a></p><div class="doc"><p>Since 0.3.0
</p></div></div><div class="top"><p class="src"><a name="v:utf32_le" class="def">utf32_le</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a><a href="src/Data-Conduit-Text.html#utf32_le" class="link">Source</a></p><div class="doc"><p>Since 0.3.0
</p></div></div><div class="top"><p class="src"><a name="v:utf32_be" class="def">utf32_be</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a><a href="src/Data-Conduit-Text.html#utf32_be" class="link">Source</a></p><div class="doc"><p>Since 0.3.0
</p></div></div><div class="top"><p class="src"><a name="v:ascii" class="def">ascii</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a><a href="src/Data-Conduit-Text.html#ascii" class="link">Source</a></p><div class="doc"><p>Since 0.3.0
</p></div></div><div class="top"><p class="src"><a name="v:iso8859_1" class="def">iso8859_1</a> :: <a href="Data-Conduit-Text.html#t:Codec">Codec</a><a href="src/Data-Conduit-Text.html#iso8859_1" class="link">Source</a></p><div class="doc"><p>Since 0.3.0
</p></div></div><div class="top"><p class="src"><a name="v:lines" class="def">lines</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a><a href="src/Data-Conduit-Text.html#lines" class="link">Source</a></p><div class="doc"><p>Emit each line separately
</p><p>Since 0.4.1
</p></div></div><div class="top"><p class="src"><a name="v:linesBounded" class="def">linesBounded</a> :: <a href="/usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadThrow">MonadThrow</a> m => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a><a href="src/Data-Conduit-Text.html#linesBounded" class="link">Source</a></p><div class="doc"><p>Variant of the lines function with an integer parameter.
The text length of any emitted line
never exceeds the value of the paramater. Whenever
this is about to happen a LengthExceeded exception
is thrown. This function should be used instead
of the lines function whenever we are dealing with
user input (e.g. a file upload) because we can't be sure that
user input won't have extraordinarily large lines which would
require large amounts of memory if consumed.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:TextException" class="def">TextException</a> <a href="src/Data-Conduit-Text.html#TextException" class="link">Source</a></p><div class="doc"><p>Since 0.3.0
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DecodeException" class="def">DecodeException</a> <a href="Data-Conduit-Text.html#t:Codec">Codec</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Word.html#t:Word8">Word8</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:EncodeException" class="def">EncodeException</a> <a href="Data-Conduit-Text.html#t:Codec">Codec</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:LengthExceeded" class="def">LengthExceeded</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 empty"> </td></tr><tr><td class="src"><a name="v:TextException" class="def">TextException</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Exception-Base.html#t:SomeException">SomeException</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:NewDecodeException" class="def">NewDecodeException</a> !<a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> !<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> !<a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:TextException" class="caption collapser" onclick="toggleSection('i:TextException')">Instances</p><div id="section.i:TextException" class="show"><table><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-Conduit-Text.html#t:TextException">TextException</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-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Data-Conduit-Text.html#t:TextException">TextException</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/Control-Exception-Base.html#t:Exception">Exception</a> <a href="Data-Conduit-Text.html#t:TextException">TextException</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:takeWhile" class="def">takeWhile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a><a href="src/Data-Conduit-Text.html#takeWhile" class="link">Source</a></p><div class="doc"><p>Since 1.0.8
</p></div></div><div class="top"><p class="src"><a name="v:dropWhile" class="def">dropWhile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Char.html#t:Char">Char</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Consumer">Consumer</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m ()<a href="src/Data-Conduit-Text.html#dropWhile" class="link">Source</a></p><div class="doc"><p>Since 1.0.8
</p></div></div><div class="top"><p class="src"><a name="v:take" class="def">take</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a><a href="src/Data-Conduit-Text.html#take" class="link">Source</a></p><div class="doc"><p>Since 1.0.8
</p></div></div><div class="top"><p class="src"><a name="v:drop" class="def">drop</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Consumer">Consumer</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m ()<a href="src/Data-Conduit-Text.html#drop" class="link">Source</a></p><div class="doc"><p>Since 1.0.8
</p></div></div><div class="top"><p class="src"><a name="v:foldLines" class="def">foldLines</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => (a -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:ConduitM">ConduitM</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> o m a) -> a -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:ConduitM">ConduitM</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> o m a<a href="src/Data-Conduit-Text.html#foldLines" class="link">Source</a></p><div class="doc"><p>Since 1.0.8
</p></div></div><div class="top"><p class="src"><a name="v:withLine" class="def">withLine</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Sink">Sink</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m a -> <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Consumer">Consumer</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> a)<a href="src/Data-Conduit-Text.html#withLine" class="link">Source</a></p><div class="doc"><p>Since 1.0.8
</p></div></div><div class="top"><p class="src"><a name="v:decodeUtf8" class="def">decodeUtf8</a> :: <a href="/usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadThrow">MonadThrow</a> m => <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a><a href="src/Data-Conduit-Text.html#decodeUtf8" class="link">Source</a></p><div class="doc"><p>Decode a stream of UTF8-encoded bytes into a stream of text, throwing an
exception on invalid input.
</p><p>Since 1.0.15
</p></div></div><div class="top"><p class="src"><a name="v:decodeUtf8Lenient" class="def">decodeUtf8Lenient</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> m <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a><a href="src/Data-Conduit-Text.html#decodeUtf8Lenient" class="link">Source</a></p><div class="doc"><p>Decode a stream of UTF8 data, and replace invalid bytes with the Unicode
replacement character.
</p><p>Since 1.1.1
</p></div></div><div class="top"><p class="src"><a name="v:encodeUtf8" class="def">encodeUtf8</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="/usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Conduit">Conduit</a> <a href="/usr/share/doc/libghc-text-doc/html/Data-Text-Internal.html#t:Text">Text</a> m <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a><a href="src/Data-Conduit-Text.html#encodeUtf8" class="link">Source</a></p><div class="doc"><p>Encode a stream of text into a stream of bytes.
</p><p>Since 1.0.15
</p></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>
|