diff options
Diffstat (limited to 'Pipes/Text/IO.hs')
-rw-r--r-- | Pipes/Text/IO.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Pipes/Text/IO.hs b/Pipes/Text/IO.hs index 57c4638..23aff69 100644 --- a/Pipes/Text/IO.hs +++ b/Pipes/Text/IO.hs | |||
@@ -81,11 +81,11 @@ To stream from files, the following is perhaps more Prelude-like (note that it u | |||
81 | 81 | ||
82 | * Like the functions in @Data.Text.IO@, they attempt to work with the system encoding. | 82 | * Like the functions in @Data.Text.IO@, they attempt to work with the system encoding. |
83 | 83 | ||
84 | * Like the functions in @Data.Text.IO@, they are slower than ByteString operations. Where | 84 | * Like the functions in @Data.Text.IO@, they significantly slower than ByteString operations. Where |
85 | you know what encoding you are working with, use @Pipes.ByteString@ and @Pipes.Text.Encoding@ instead, | 85 | you know what encoding you are working with, use @Pipes.ByteString@ and @Pipes.Text.Encoding@ instead, |
86 | e.g. @view utf8 Bytes.stdin@ instead of @Text.stdin@ | 86 | e.g. @view utf8 Bytes.stdin@ instead of @Text.stdin@ |
87 | 87 | ||
88 | * Like the functions in @Data.Text.IO@ , they use Text exceptions. | 88 | * Like the functions in @Data.Text.IO@ , they use Text exceptions, not the standard Pipes protocols. |
89 | 89 | ||
90 | Something like | 90 | Something like |
91 | 91 | ||