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