]> git.immae.eu Git - github/fretlink/text-pipes.git/blob - README.md
Readme corrected again
[github/fretlink/text-pipes.git] / README.md
1 pipes-text
2 ==========
3
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.
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.
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
13 PIPES-TEXT
14 ==========
15 ...