]>
Commit | Line | Data |
---|---|---|
f33dd2ab MT |
1 | text-pipes |
2 | ========== | |
3 | ||
37b59370 | 4 | Text pipes, somehow to be fused with `pipes-text`. |
5 | This follows the pattern of `pipes-bytestring` by 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 | ... |