]>
Commit | Line | Data |
---|---|---|
c0343bc9 | 1 | pipes-text |
f33dd2ab MT |
2 | ========== |
3 | ||
c0343bc9 | 4 | These modules `Pipes.Text` and `Pipes.Text.Parse` use materials from [`pipes-text`](https://github.com/ibotty/pipes-text) and |
5 | otherwise follows the pattern of [`pipes-bytestring`](https://github.com/Gabriel439/Haskell-Pipes-ByteString-Library), adding a few `pipes-prelude`-like operations. | |
d98ea699 | 6 | The most important function, `decodeUtf8`, written by ibotty, uses the development version of the text package; this package can however be built without it. |
37b59370 | 7 | |
8 | >>> runEffect $ stdinLn >-> P.takeWhile (/= "quit") >-> stdoutLn | |
9 | hi<Return> | |
10 | hi | |
11 | quit<Return> | |
12 | >>> runSafeT $ runEffect $ readFile "README.md" >-> map toUpper >-> hoist lift stdout | |
c0343bc9 | 13 | PIPES-TEXT |
37b59370 | 14 | ========== |
37b59370 | 15 | ... |