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