]> git.immae.eu Git - github/fretlink/text-pipes.git/blame - README.md
readme
[github/fretlink/text-pipes.git] / README.md
CommitLineData
8ecc4880 1text-pipes
f33dd2ab
MT
2==========
3
8ecc4880 4This repo is called `text-pipes`, but the package is named `pipes-text` as one might expect.
5The two modules it contatins, `Pipes.Text` and `Pipes.Text.Parse`, use materials from [`pipes-text`](https://github.com/ibotty/pipes-text) and
c0343bc9 6otherwise follows the pattern of [`pipes-bytestring`](https://github.com/Gabriel439/Haskell-Pipes-ByteString-Library), adding a few `pipes-prelude`-like operations.
d98ea699 7The most important function, `decodeUtf8`, written by ibotty, uses the development version of the text package; this package can however be built without it.
37b59370 8
9 >>> runEffect $ stdinLn >-> P.takeWhile (/= "quit") >-> stdoutLn
10 hi<Return>
11 hi
12 quit<Return>
13 >>> runSafeT $ runEffect $ readFile "README.md" >-> map toUpper >-> hoist lift stdout
c0343bc9 14 PIPES-TEXT
37b59370 15 ==========
37b59370 16 ...