aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Thompson <what_is_it_to_do_anything@yahoo.com>2014-02-05 23:03:39 -0500
committerMichael Thompson <what_is_it_to_do_anything@yahoo.com>2014-02-05 23:03:39 -0500
commit28c89ca835b13abd679fbb9d9db92329f2a05a7b (patch)
tree406898a08bcc4970b01bfc916e59e230dfd7cf41
parenta008fca5db4c33cf639f095c53bc60737f72e1fb (diff)
parentc8027236c897ebac20a4d9cc8209f216cded20c8 (diff)
downloadtext-pipes-28c89ca835b13abd679fbb9d9db92329f2a05a7b.tar.gz
text-pipes-28c89ca835b13abd679fbb9d9db92329f2a05a7b.tar.zst
text-pipes-28c89ca835b13abd679fbb9d9db92329f2a05a7b.zip
Merge pull request #2 from Gabriel439/noproxy
Replaced the word "proxies" with "pipes"
-rw-r--r--Pipes/Text.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Pipes/Text.hs b/Pipes/Text.hs
index c0c0946..f85f0ee 100644
--- a/Pipes/Text.hs
+++ b/Pipes/Text.hs
@@ -29,11 +29,11 @@ To stream from files, the following is perhaps more Prelude-like (note that it u
29> main = runSafeT $ runEffect $ Text.readFile "inFile.txt" >-> Text.writeFile "outFile.txt" 29> main = runSafeT $ runEffect $ Text.readFile "inFile.txt" >-> Text.writeFile "outFile.txt"
30 30
31 You can stream to and from 'stdin' and 'stdout' using the predefined 'stdin' 31 You can stream to and from 'stdin' and 'stdout' using the predefined 'stdin'
32 and 'stdout' proxies, as with the following \"echo\" program: 32 and 'stdout' pipes, as with the following \"echo\" program:
33 33
34> main = runEffect $ Text.stdin >-> Text.stdout 34> main = runEffect $ Text.stdin >-> Text.stdout
35 35
36 You can also translate pure lazy 'TL.Text's to and from proxies: 36 You can also translate pure lazy 'TL.Text's to and from pipes:
37 37
38> main = runEffect $ Text.fromLazy (TL.pack "Hello, world!\n") >-> Text.stdout 38> main = runEffect $ Text.fromLazy (TL.pack "Hello, world!\n") >-> Text.stdout
39 39
@@ -1159,4 +1159,4 @@ decodeIso8859_1 = go where
1159 1159
1160 1160
1161 1161
1162 \ No newline at end of file 1162