pipes-text: properly streaming text

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

New in version 0.0.2/: A 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:

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

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. A fourth module Pipes.Prelude.Text is explained below.

The module Pipes.Text.IO is present as a convenience. 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.

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


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
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

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 changelog
Dependencies base (>=4 && <5), bytestring (>=0.9.2.1 && <0.11), pipes (>=4.0 && <4.2), 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 && <0.2), text (>=0.11.2 && <1.3), transformers (>=0.2.0.0 && <0.6) [details]
License BSD-3-Clause
Author Michael Thompson
Maintainer what_is_it_to_do_anything@yahoo.com
Category Text, Pipes
Home page https://github.com/michaelt/text-pipes
Bug tracker https://github.com/michaelt/text-pipes/issues
Source repo head: git clone https://github.com/michaelt/text-pipes
Uploaded by MichaelThompson at 2016-05-30T12:37:24Z
Distributions LTSHaskell:1.0.1, NixOS:1.0.1
Reverse Dependencies 14 direct, 60 indirect [details]
Downloads 22221 total (109 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for pipes-text-0.0.2.2

[back to package description]

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