X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=README.md;h=a950a67ab7f8084a973aa53a6a8c838a9133db8c;hb=6777c14f343be247fc56d43d0d371d89065ffde5;hp=71550b87cc50488a2e0d2d8a5bef2052883d7186;hpb=fac06c44c00de07cc6ad3a50cd2b0d099037fa31;p=github%2Ffretlink%2Ftext-pipes.git diff --git a/README.md b/README.md index 71550b8..a950a67 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,10 @@ -text-pipes +pipes-text ========== -Text pipes, somehow to be fused with [`pipes-text`](https://github.com/ibotty/pipes-text) -which uses an upcoming version of the `text` library to link bytestring and text. +This package follows the rule: -This module follows the pattern of `pipes-bytestring` (largely by skillful use of the -expedient of regular expressions), and adds a few `pipes-prelude`-like operations. + pipes-text : pipes-bytestring :: text : bytestring +The division of three modules, `Pipes.Text` , `Pipes.Text.Encoding` and `Pipes.Text.IO` has more or less the significance it has in the `text` library. - >>> runEffect $ stdinLn >-> P.takeWhile (/= "quit") >-> stdoutLn - hi - hi - quit - >>> runSafeT $ runEffect $ readFile "README.md" >-> map toUpper >-> hoist lift stdout - TEXT-PIPES - ========== - TEXT PIPES, SOMEHOW TO BE FUSED WITH `PIPES-TEXT`. - ... \ No newline at end of file +Note that the module `Pipes.Text.IO` uses version 0.11.3 or later of the `text` library. (It thus works with the version of `text` that came with the 2013 Haskell Platform. To use an older `text`, install with the flag `-fnoio` \ No newline at end of file