aboutsummaryrefslogtreecommitdiffhomepage
path: root/Pipes/Prelude
diff options
context:
space:
mode:
Diffstat (limited to 'Pipes/Prelude')
-rw-r--r--Pipes/Prelude/Text.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Pipes/Prelude/Text.hs b/Pipes/Prelude/Text.hs
index ee3e104..701d5f6 100644
--- a/Pipes/Prelude/Text.hs
+++ b/Pipes/Prelude/Text.hs
@@ -33,7 +33,7 @@ import Prelude hiding (readFile, writeFile)
33 @Pipes.Prelude@ and @Pipes.Safe.Prelude@ - a final \-@Ln@ being added where necessary. 33 @Pipes.Prelude@ and @Pipes.Safe.Prelude@ - a final \-@Ln@ being added where necessary.
34 In using them, one is producing and consuming semantically significant individual texts, 34 In using them, one is producing and consuming semantically significant individual texts,
35 understood as lines, just as one would produce or pipe 'Int's or 'Char's or anything else. 35 understood as lines, just as one would produce or pipe 'Int's or 'Char's or anything else.
36 Thus, the standard materials from @Pipes@ and @Pipes.Prelude@ and 36 The standard materials from @Pipes@ and @Pipes.Prelude@ and
37 @Data.Text@ are all you need to work with them, and 37 @Data.Text@ are all you need to work with them, and
38 you can use these operations without using any of the other modules in this package. 38 you can use these operations without using any of the other modules in this package.
39 39
@@ -78,7 +78,7 @@ quit<Enter>
78 <http://www.haskellforall.com/2013/09/perfect-streaming-using-pipes-bytestring.html perfect streaming> 78 <http://www.haskellforall.com/2013/09/perfect-streaming-using-pipes-bytestring.html perfect streaming>
79 to see why @pipes-bytestring@ and this package, outside this module, take a different approach. 79 to see why @pipes-bytestring@ and this package, outside this module, take a different approach.
80 Furthermore, the line-based operations, 80 Furthermore, the line-based operations,
81 like those in @Data.Text.IO@, use the system encoding (and @T.hGetLine@) 81 like those in @Data.Text.IO@, use the system encoding (and @T.hGetLine@, @T.hPutLine@ etc.)
82 and thus are slower than the \'official\' route, which would use the very fast 82 and thus are slower than the \'official\' route, which would use the very fast
83 bytestring IO operations from @Pipes.ByteString@ and 83 bytestring IO operations from @Pipes.ByteString@ and
84 encoding and decoding functions in @Pipes.Text.Encoding@. Finally, the line-based 84 encoding and decoding functions in @Pipes.Text.Encoding@. Finally, the line-based