diff options
Diffstat (limited to 'pipes-text.cabal')
-rw-r--r-- | pipes-text.cabal | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pipes-text.cabal b/pipes-text.cabal index 56a2688..13cc8fa 100644 --- a/pipes-text.cabal +++ b/pipes-text.cabal | |||
@@ -1,15 +1,17 @@ | |||
1 | name: pipes-text | 1 | name: pipes-text |
2 | version: 0.0.2.0 | 2 | version: 0.0.2.1 |
3 | synopsis: Text pipes. | 3 | synopsis: properly streaming text |
4 | description: * This organization of the package follows the rule | 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: | ||
5 | . | 9 | . |
6 | * @pipes-text : pipes-bytestring :: text : bytestring@ | 10 | * @pipes-text : pipes-bytestring :: text : bytestring@ |
7 | . | 11 | . |
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. | 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. |
9 | . | 13 | . |
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. | 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. |
11 | . | ||
12 | The fourth 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. | ||
13 | . | 15 | . |
14 | @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@ | 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@ |
15 | 17 | ||
@@ -49,7 +51,6 @@ library | |||
49 | 51 | ||
50 | other-extensions: RankNTypes | 52 | other-extensions: RankNTypes |
51 | default-language: Haskell2010 | 53 | default-language: Haskell2010 |
52 | ghc-options: -O2 | ||
53 | 54 | ||
54 | if !flag(noio) | 55 | if !flag(noio) |
55 | exposed-modules: Pipes.Text.IO, Pipes.Text.Tutorial, Pipes.Prelude.Text | 56 | exposed-modules: Pipes.Text.IO, Pipes.Text.Tutorial, Pipes.Prelude.Text |