]>
Commit | Line | Data |
---|---|---|
7faef8bc | 1 | name: pipes-text |
5dca0cf2 | 2 | version: 0.0.2.1 |
3 | synopsis: properly streaming text | |
4 | description: /New in version 0.0.2/: | |
5 | . | |
6 | 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. | |
7 | . | |
8 | For the rest, the organization of this package follows the rule: | |
4989a357 | 9 | . |
10 | * @pipes-text : pipes-bytestring :: text : bytestring@ | |
11b2cbe9 | 11 | . |
7da7dbc8 | 12 | 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. |
02bc50d5 | 13 | . |
5dca0cf2 | 14 | 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. |
7da7dbc8 | 15 | . |
d19efff3 | 16 | @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@ |
7da7dbc8 | 17 | |
18 | ||
409759e8 | 19 | |
11b2cbe9 | 20 | homepage: https://github.com/michaelt/text-pipes |
21 | bug-reports: https://github.com/michaelt/text-pipes/issues | |
91727d11 | 22 | license: BSD3 |
23 | license-file: LICENSE | |
409759e8 | 24 | author: Michael Thompson |
91727d11 | 25 | maintainer: what_is_it_to_do_anything@yahoo.com |
409759e8 | 26 | category: Text, Pipes |
91727d11 | 27 | build-type: Simple |
91727d11 | 28 | cabal-version: >=1.10 |
11777d08 | 29 | |
ea05597c | 30 | extra-source-files: README.md changelog |
11777d08 | 31 | source-repository head |
32 | type: git | |
33 | location: https://github.com/michaelt/text-pipes | |
34 | ||
bbdfd305 | 35 | flag noio |
36 | default: False | |
37 | Description: Use a version of text earlier than 0.11.3 | |
91727d11 | 38 | |
39 | library | |
bbdfd305 | 40 | exposed-modules: Pipes.Text, Pipes.Text.Encoding |
e8336ba6 | 41 | build-depends: base >= 4 && < 5 , |
eae50557 | 42 | bytestring >= 0.9.2.1 && < 0.11, |
6f9d4cfe | 43 | text >= 0.11.2 && < 1.3 , |
eae50557 | 44 | streaming-commons >= 0.1 && < 0.2 , |
eae50557 | 45 | pipes >= 4.0 && < 4.2 , |
46 | pipes-group >= 1.0.0 && < 1.1 , | |
47 | pipes-parse >= 3.0.0 && < 3.1 , | |
48 | pipes-safe >= 2.1 && < 2.3 , | |
57454c33 | 49 | pipes-bytestring >= 1.0 && < 2.2 , |
4816b595 | 50 | transformers >= 0.2.0.0 && < 0.6 |
eae50557 | 51 | |
bbdfd305 | 52 | other-extensions: RankNTypes |
3694350a | 53 | default-language: Haskell2010 |
bbdfd305 | 54 | |
55 | if !flag(noio) | |
6a143165 | 56 | exposed-modules: Pipes.Text.IO, Pipes.Text.Tutorial, Pipes.Prelude.Text |
6f9d4cfe | 57 | build-depends: text >=0.11.3 && < 1.3 |