]>
Commit | Line | Data |
---|---|---|
8ecc4880 | 1 | text-pipes |
f33dd2ab MT |
2 | ========== |
3 | ||
8ecc4880 | 4 | This repo is called `text-pipes`, but the package is named `pipes-text` as one might expect. |
434362b1 | 5 | The two modules it contatins, `Pipes.Text` and `Pipes.Text.Parse`, use materials from [`pipes-text`](https://github.com/ibotty/pipes-text); |
6 | otherwise they follow the pattern of [`pipes-bytestring`](https://github.com/Gabriel439/Haskell-Pipes-ByteString-Library), adding a few `pipes-prelude`-like operations. | |
7 | The most important function, `decodeUtf8`, written by ibotty, uses the development version of the text package; this package can however be built with the hackage `text` | |
8 | though `decodeUtf8` will then not exist. | |
37b59370 | 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 | |
41f8c964 | 15 | TEXT-PIPES |
37b59370 | 16 | ========== |
37b59370 | 17 | ... |