aboutsummaryrefslogtreecommitdiffhomepage
path: root/Pipes/Text
diff options
context:
space:
mode:
authormichaelt <what_is_it_to_do_anything@yahoo.com>2014-02-17 22:58:57 -0500
committermichaelt <what_is_it_to_do_anything@yahoo.com>2014-02-17 22:58:57 -0500
commit02f89dfe9b4787fbad5f3740ed1626203c474a2b (patch)
treefa07a58cfc5f2a2835c4d6b41540a24dae7b8826 /Pipes/Text
parente7ad36437caf83c4c25296542764bc4b1c819e24 (diff)
downloadtext-pipes-02f89dfe9b4787fbad5f3740ed1626203c474a2b.tar.gz
text-pipes-02f89dfe9b4787fbad5f3740ed1626203c474a2b.tar.zst
text-pipes-02f89dfe9b4787fbad5f3740ed1626203c474a2b.zip
version 0.0.0.8 fwiw
Diffstat (limited to 'Pipes/Text')
-rw-r--r--Pipes/Text/Encoding.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Pipes/Text/Encoding.hs b/Pipes/Text/Encoding.hs
index a1a0113..e6fc6bf 100644
--- a/Pipes/Text/Encoding.hs
+++ b/Pipes/Text/Encoding.hs
@@ -189,7 +189,7 @@ mkCodec dec enc = \k p0 -> fmap (\p -> join (for p (yield . enc))) (k (dec p0))
189> decode utf8 Byte.stdin :: Producer Text IO (Producer ByteString IO r) 189> decode utf8 Byte.stdin :: Producer Text IO (Producer ByteString IO r)
190> Bytes.stdin ^. utf8 :: Producer Text IO (Producer ByteString IO r) 190> Bytes.stdin ^. utf8 :: Producer Text IO (Producer ByteString IO r)
191 191
192 Uses of a codec with @view@ / @(^.)@ / 'decode' can always be replaced by the specialized 192 Uses of a codec with @view@ or @(^.)@ or 'decode' can always be replaced by the specialized
193 decoding functions exported here, e.g. 193 decoding functions exported here, e.g.
194 194
195> decodeUtf8 :: Producer ByteString m r -> Producer Text m (Producer ByteString m r) 195> decodeUtf8 :: Producer ByteString m r -> Producer Text m (Producer ByteString m r)