aboutsummaryrefslogtreecommitdiffhomepage
path: root/Pipes
diff options
context:
space:
mode:
authorGabriel Gonzalez <Gabriel439@gmail.com>2014-02-06 10:55:15 +0700
committerGabriel Gonzalez <Gabriel439@gmail.com>2014-02-06 10:55:15 +0700
commitc8027236c897ebac20a4d9cc8209f216cded20c8 (patch)
tree406898a08bcc4970b01bfc916e59e230dfd7cf41 /Pipes
parenta008fca5db4c33cf639f095c53bc60737f72e1fb (diff)
downloadtext-pipes-c8027236c897ebac20a4d9cc8209f216cded20c8.tar.gz
text-pipes-c8027236c897ebac20a4d9cc8209f216cded20c8.tar.zst
text-pipes-c8027236c897ebac20a4d9cc8209f216cded20c8.zip
Replaced the word "proxies" with "pipes"
Generally `pipes` documentation avoids the word proxy unless it's in a bidirectional context.
Diffstat (limited to '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