blob: 71550b87cc50488a2e0d2d8a5bef2052883d7186 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
text-pipes
==========
Text pipes, somehow to be fused with [`pipes-text`](https://github.com/ibotty/pipes-text)
which uses an upcoming version of the `text` library to link bytestring and text.
This module follows the pattern of `pipes-bytestring` (largely by skillful use of the
expedient of regular expressions), and adds a few `pipes-prelude`-like operations.
>>> runEffect $ stdinLn >-> P.takeWhile (/= "quit") >-> stdoutLn
hi<Return>
hi
quit<Return>
>>> runSafeT $ runEffect $ readFile "README.md" >-> map toUpper >-> hoist lift stdout
TEXT-PIPES
==========
TEXT PIPES, SOMEHOW TO BE FUSED WITH `PIPES-TEXT`.
...
|