]>
Commit | Line | Data |
---|---|---|
7faef8bc | 1 | name: pipes-text |
a008fca5 | 2 | version: 0.0.0.5 |
91727d11 | 3 | synopsis: Text pipes. |
11b2cbe9 | 4 | description: Many of the pipes and other operations defined here mirror those in |
5 | the `pipes-bytestring` library. Folds like `length` and grouping | |
6 | operations like `lines` simply adjust for the differences between | |
02bc50d5 | 7 | `ByteString` and `Text` and `Word8` and `Char`. It is hoped that this |
8 | homogeneity will aid in learning the terms and programming style associated | |
9 | with both of them. | |
11b2cbe9 | 10 | . |
02bc50d5 | 11 | The most distinctive addition of the library to that core is the |
12 | apparatus for encoding and decoding `Text` and `ByteString`. | |
13 | . | |
14 | Also defined are some simple functions akin to the `String` | |
11b2cbe9 | 15 | operations in `Pipes.Prelude`, and others like the utilities in `Data.Text`. |
16 | . | |
409759e8 | 17 | All of the `IO` operations defined here - e.g `readFile`, `stdout` etc. |
18 | - are conveniences akin to those in `Data.Text.IO` which e.g. try to | |
19 | find the system encoding and use the exceptions defined in the `text` | |
20 | library. Proper `IO` in the sense of this library will employ | |
21 | `pipes-bytestring` in conjuntion with 'pure' operations like | |
22 | `decodeUtf8` and `encodeUtf8` that are defined here. | |
23 | ||
11b2cbe9 | 24 | homepage: https://github.com/michaelt/text-pipes |
25 | bug-reports: https://github.com/michaelt/text-pipes/issues | |
91727d11 | 26 | license: BSD3 |
27 | license-file: LICENSE | |
409759e8 | 28 | author: Michael Thompson |
91727d11 | 29 | maintainer: what_is_it_to_do_anything@yahoo.com |
409759e8 | 30 | category: Text, Pipes |
91727d11 | 31 | build-type: Simple |
91727d11 | 32 | cabal-version: >=1.10 |
11777d08 | 33 | |
b23136b1 | 34 | extra-source-files: README.md include/*.h changelog |
11777d08 | 35 | source-repository head |
36 | type: git | |
37 | location: https://github.com/michaelt/text-pipes | |
38 | ||
91727d11 | 39 | |
40 | library | |
8c482809 | 41 | c-sources: cbits/cbits.c |
42 | include-dirs: include | |
7c9f2b8b | 43 | exposed-modules: Pipes.Text, Pipes.Text.Internal |
44 | other-modules: Pipes.Text.Internal.Decoding, Pipes.Text.Internal.Codec | |
91727d11 | 45 | other-extensions: RankNTypes |
46 | build-depends: base >= 4 && < 5 , | |
1677dc12 | 47 | bytestring >=0.10 && < 0.11, |
11b2cbe9 | 48 | text >=0.11 && < 1.2, |
1677dc12 | 49 | profunctors >= 3.1.1 && < 4.1 , |
91727d11 | 50 | pipes >=4.0 && < 4.2, |
7ed76745 | 51 | pipes-group >= 1.0.0 && < 1.1 , |
64e03122 | 52 | pipes-parse >=2.0 && < 3.1, |
91727d11 | 53 | pipes-safe, |
64e03122 | 54 | pipes-bytestring >= 1.0 && < 2.1, |
1677dc12 | 55 | transformers >= 0.2.0.0 && < 0.4 |
91727d11 | 56 | -- hs-source-dirs: |
3694350a | 57 | default-language: Haskell2010 |
58 | ghc-options: -O2 |