pipes-text: properly streaming text

[ bsd3, library, pipes, text ] [ Propose Tags ]

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]


Manual Flags


Enable settings for the package maintainer.

Automatic Flags

Use a version of text earlier than 0.11.3


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Versions [RSS],,,,,,,,,,,,,,,,,,,,,,,,, 1.0.0, 1.0.1
Change log CHANGES.md
Dependencies base (>=4 && <5), bytestring (>= && <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.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 22424 total (64 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]

Readme for pipes-text-1.0.1

[back to package description]


tests GitHub tag (latest by date) Hackage

This package follows the rule:

pipes-text : pipes-bytestring :: text : bytestring

The division of three modules, Pipes.Text , Pipes.Text.Encoding and Pipes.Text.IO has more or less the significance it has in the text library.