]> git.immae.eu Git - github/fretlink/text-pipes.git/blame - pipes-text.cabal
Merge pull request #6 from Gabriel439/patch-1
[github/fretlink/text-pipes.git] / pipes-text.cabal
CommitLineData
7faef8bc 1name: pipes-text
bbdfd305 2version: 0.0.0.7
91727d11 3synopsis: Text pipes.
11b2cbe9 4description: 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 24homepage: https://github.com/michaelt/text-pipes
25bug-reports: https://github.com/michaelt/text-pipes/issues
91727d11 26license: BSD3
27license-file: LICENSE
409759e8 28author: Michael Thompson
91727d11 29maintainer: what_is_it_to_do_anything@yahoo.com
409759e8 30category: Text, Pipes
91727d11 31build-type: Simple
91727d11 32cabal-version: >=1.10
11777d08 33
b23136b1 34extra-source-files: README.md include/*.h changelog
11777d08 35source-repository head
36 type: git
37 location: https://github.com/michaelt/text-pipes
38
bbdfd305 39flag noio
40 default: False
41 Description: Use a version of text earlier than 0.11.3
91727d11 42
43library
bbdfd305 44 exposed-modules: Pipes.Text, Pipes.Text.Encoding
45 build-depends: base >= 4 && < 5 ,
46 bytestring >= 0.9 ,
8d71c649 47 text >=0.11.2 && < 1.2,
bbdfd305 48 text-stream-decode >= 0.1 && < 0.2,
49 profunctors >= 3.1.1 && < 4.1,
50 pipes >=4.0 && < 4.2,
51 pipes-group >= 1.0.0 && < 1.1,
52 pipes-parse >=2.0 && < 3.1,
91727d11 53 pipes-safe,
bbdfd305 54 pipes-bytestring >= 1.0 && < 2.1,
55 transformers >= 0.2.0.0 && < 0.4
56 other-extensions: RankNTypes
3694350a 57 default-language: Haskell2010
bbdfd305 58 ghc-options: -O2
59
60 if !flag(noio)
61 exposed-modules: Pipes.Text.IO
62 build-depends: text >=0.11.3 && < 1.2
63