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