]> 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 which uses an upcoming version of the `text` library to link bytestring and text.
6
7 This module follows the pattern of `pipes-bytestring` (largely by skillful use of the
8 expedient of regular expressions), and adds a few `pipes-prelude`-like operations.
9
10
11 >>> runEffect $ stdinLn >-> P.takeWhile (/= "quit") >-> stdoutLn
12 hi<Return>
13 hi
14 quit<Return>
15 >>> runSafeT $ runEffect $ readFile "README.md" >-> map toUpper >-> hoist lift stdout
16 TEXT-PIPES
17 ==========
18 TEXT PIPES, SOMEHOW TO BE FUSED WITH `PIPES-TEXT`.
19 ...