diff options
Diffstat (limited to 'pipes-text.cabal')
-rw-r--r-- | pipes-text.cabal | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/pipes-text.cabal b/pipes-text.cabal index 44bc551..fda6f59 100644 --- a/pipes-text.cabal +++ b/pipes-text.cabal | |||
@@ -1,20 +1,35 @@ | |||
1 | name: pipes-text | 1 | name: pipes-text |
2 | version: 0.1.0.0 | 2 | version: 0.1.0.0 |
3 | synopsis: Text pipes. | 3 | synopsis: Text pipes. |
4 | description: Text pipes. | 4 | description: Most of the pipes and other operations defined in `pipes-text` |
5 | closely mirrors the `pipes-bytestring` library, simply adjusting for | ||
6 | the difference between strict `ByteString` and strict `Text`, and between | ||
7 | `Word8` and `Char`. To this core are added some simple functions | ||
8 | some akin to the `String` operations in `Pipes.Prelude`, some like the | ||
9 | utilities in `Data.Text`. | ||
10 | |||
11 | All of the `IO` operations defined here - e.g `readFile`, `stdout` etc. | ||
12 | - are conveniences akin to those in `Data.Text.IO` which e.g. try to | ||
13 | find the system encoding and use the exceptions defined in the `text` | ||
14 | library. Proper `IO` in the sense of this library will employ | ||
15 | `pipes-bytestring` in conjuntion with 'pure' operations like | ||
16 | `decodeUtf8` and `encodeUtf8` that are defined here. | ||
17 | |||
5 | homepage: github.com/michaelt/text-pipes | 18 | homepage: github.com/michaelt/text-pipes |
6 | license: BSD3 | 19 | license: BSD3 |
7 | license-file: LICENSE | 20 | license-file: LICENSE |
8 | author: michaelt | 21 | author: Michael Thompson |
9 | maintainer: what_is_it_to_do_anything@yahoo.com | 22 | maintainer: what_is_it_to_do_anything@yahoo.com |
10 | category: Text | 23 | category: Text, Pipes |
11 | build-type: Simple | 24 | build-type: Simple |
12 | cabal-version: >=1.10 | 25 | cabal-version: >=1.10 |
26 | extra-source-files: README.md | ||
27 | include/*.h | ||
13 | 28 | ||
14 | library | 29 | library |
15 | c-sources: cbits/cbits.c | 30 | c-sources: cbits/cbits.c |
16 | include-dirs: include | 31 | include-dirs: include |
17 | exposed-modules: Pipes.Text, Pipes.Text.Internal, Pipes.Text.Codec | 32 | exposed-modules: Pipes.Text, Pipes.Text.Internal.Decoding, Pipes.Text.Internal.Codec |
18 | -- other-modules: | 33 | -- other-modules: |
19 | other-extensions: RankNTypes | 34 | other-extensions: RankNTypes |
20 | build-depends: base >= 4 && < 5 , | 35 | build-depends: base >= 4 && < 5 , |