The pipes-text package

[Tags:bsd3, library]

New in version 0.0.2.x: The new 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.

The organization of this package follows the rule:

Familiarity with the other three packages should give one an idea what to expect where. 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

where any unparsed bytes are returned.

Pipes.Text.IO and Pipes.Prelude.Text use version 0.11.3 or later of the text library; older versions of text can be used with the flag -fnoio

[Skip to Readme]


Change log changelog
Dependencies base (==4.*), bytestring (>= && <0.11), 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.3), streaming-commons (==0.1.*), text (>=0.11.2 && <1.3), transformers (>= && <0.6) [details]
License BSD3
Author Michael Thompson
Category Text, Pipes
Home page
Bug tracker
Source repository head: git clone
Uploaded Sat Dec 3 03:59:48 UTC 2016 by MichaelThompson
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 6107 total (398 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




noioUse a version of text earlier than 0.11.3DisabledAutomatic

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


Maintainer's Corner

For package maintainers and hackage trustees

Readme for pipes-text

Readme for pipes-text-


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.

Note that the module Pipes.Text.IO uses 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