diff options
-rw-r--r-- | Pipes/Prelude/Text.hs | 4 | ||||
-rw-r--r-- | pipes-text.cabal | 4 |
2 files changed, 4 insertions, 4 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 |
diff --git a/pipes-text.cabal b/pipes-text.cabal index 680306d..ccde9a0 100644 --- a/pipes-text.cabal +++ b/pipes-text.cabal | |||
@@ -9,9 +9,9 @@ description: * This organization of the package follows the rule | |||
9 | . | 9 | . |
10 | Note that the module @Pipes.Text.IO@ is present as a convenience (as is @Data.Text.IO@). Official pipes IO would use @Pipes.ByteString@ together with the bytestring decoding functions in @Pipes.Text.Encoding@. In particular, the @Pipes.Text.IO@ functions use Text exceptions. | 10 | Note that the module @Pipes.Text.IO@ is present as a convenience (as is @Data.Text.IO@). Official pipes IO would use @Pipes.ByteString@ together with the bytestring decoding functions in @Pipes.Text.Encoding@. In particular, the @Pipes.Text.IO@ functions use Text exceptions. |
11 | . | 11 | . |
12 | The fourth module @Pipes.Prelude.Text@ just exports line-based Text producers and consumers as a drop-in replacement for the String material in @Pipes.Prelude@ and @Pipes.Safe.Prelude@. They can be used as one uses @Pipes.Prelude@ without reference to the rest of this package. See the caveats in the documentation for the module. | 12 | The fourth module @Pipes.Prelude.Text@ exports line-based Text producers and consumers as a drop-in replacement for the String material in @Pipes.Prelude@ and @Pipes.Safe.Prelude@. They can be used as one uses @Pipes.Prelude@ without reference to the rest of this package. See the caveats in the documentation for that module. |
13 | . | 13 | . |
14 | @Pipes.Text.IO@ and @Pipes.Prelude.Text@ use version 0.11.3 or later of the @text@ library. It thus works with the version of @text@ that came with the 2013 Haskell Platform. To use an older @text@, install with the flag @-fnoio@ | 14 | @Pipes.Text.IO@ and @Pipes.Prelude.Text@ use version 0.11.3 or later of the @text@ library. To use a (very) old version of @text@, install with the flag @-fnoio@ |
15 | 15 | ||
16 | 16 | ||
17 | 17 | ||