pipes-text: properly streaming text
The organization of this package follows the rule:
pipes-text : pipes-bytestring :: text : bytestring
Familiarity with the other three packages should give one an idea
what to expect here. The package has three principal modules,
Pipes.Text
, Pipes.Text.Encoding
and Pipes.Text.IO
; the
division has more or less the significance it has in the text
library.
The module Pipes.Text.IO
is present as a convenience. Official
pipes IO uses Pipes.ByteString
together with the bytestring
decoding functions in Pipes.Text.Encoding
. In particular, the
Pipes.Text.IO
functions use Text exceptions, while Pipes.Text
uses the standard pipes practice of breaking with a failed
parse. Thus, for example, the type of decodeUtf8
is
decodeUtf8 :: Monad m => Producer ByteString m r -> Producer Text m (Producer ByteString m r)
where any unparsed bytes are returned.
[Skip to Readme]
Modules
[Index] [Quick Jump]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
maintainer | Enable settings for the package maintainer. | Disabled |
Automatic Flags
Name | Description | Default |
---|---|---|
noio | Use a version of text earlier than 0.11.3 | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- pipes-text-1.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.0.0.0, 0.0.0.1, 0.0.0.2, 0.0.0.3, 0.0.0.4, 0.0.0.5, 0.0.0.6, 0.0.0.7, 0.0.0.8, 0.0.0.9, 0.0.0.10, 0.0.0.11, 0.0.0.12, 0.0.0.13, 0.0.0.14, 0.0.0.15, 0.0.0.16, 0.0.0.17, 0.0.1.0, 0.0.2.0, 0.0.2.1, 0.0.2.2, 0.0.2.3, 0.0.2.4, 0.0.2.5, 1.0.0, 1.0.1 |
---|---|
Change log | CHANGES.md |
Dependencies | base (>=4 && <5), bytestring (>=0.9.2.1 && <0.12), pipes (>=4.0 && <4.4), pipes-bytestring (>=1.0 && <2.2), pipes-group (>=1.0.0 && <1.1), pipes-parse (>=3.0.0 && <3.1), pipes-safe (>=2.1 && <2.4), streaming-commons (>=0.1 && <0.3), text (>=0.11.2 && <2.1), transformers (>=0.2.0.0 && <0.7) [details] |
License | BSD-3-Clause |
Author | Michael Thompson |
Maintainer | Peter Jones <pjones@devalot.com> |
Category | Text, Pipes |
Home page | https://github.com/pjones/pipes-text |
Bug tracker | https://github.com/pjones/pipes-text/issues |
Source repo | head: git clone https://github.com/pjones/pipes-text |
Uploaded | by PeterJones at 2022-05-26T17:17:53Z |
Distributions | LTSHaskell:1.0.1, NixOS:1.0.1 |
Reverse Dependencies | 14 direct, 60 indirect [details] |
Downloads | 22874 total (144 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2022-05-26 [all 1 reports] |