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`. It is hoped that this
8 homogeneity will aid in learning the terms and programming style associated
11 The most distinctive addition of the library to that core is the
12 apparatus for encoding and decoding `Text` and `ByteString`.
14 Also defined are some simple functions akin to the `String`
15 operations in `Pipes.Prelude`, and others like the utilities in `Data.Text`.
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.
24 homepage: https://github.com/michaelt/text-pipes
25 bug-reports: https://github.com/michaelt/text-pipes/issues
28 author: Michael Thompson
29 maintainer: what_is_it_to_do_anything@yahoo.com
34 extra-source-files: README.md include/*.h
35 source-repository head
37 location: https://github.com/michaelt/text-pipes
41 c-sources: cbits/cbits.c
43 exposed-modules: Pipes.Text, Pipes.Text.Internal
44 other-modules: Pipes.Text.Internal.Decoding, Pipes.Text.Internal.Codec
45 other-extensions: RankNTypes
46 build-depends: base >= 4 && < 5 ,
47 bytestring >=0.10 && < 0.11,
49 profunctors >= 3.1.1 && < 4.1 ,
51 pipes-group >= 1.0.0 && < 1.1 ,
52 pipes-parse >=2.0 && < 3.1,
54 pipes-bytestring >= 1.0 && < 2.1,
55 transformers >= 0.2.0.0 && < 0.4
57 default-language: Haskell2010