]> git.immae.eu Git - github/fretlink/text-pipes.git/commitdiff
Readme
authormichaelt <what_is_it_to_do_anything@yahoo.com>
Sat, 5 Oct 2013 02:29:11 +0000 (22:29 -0400)
committermichaelt <what_is_it_to_do_anything@yahoo.com>
Sat, 5 Oct 2013 02:29:11 +0000 (22:29 -0400)
README.md

index 1d49fed2d81c19aa11c3a0c99fda283cfcaf01fd..b67ad0237ff2d8d8a460eb4ed37768cb811bd773 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,18 @@
 text-pipes
 ==========
 
-Text pipes
+Text pipes, somehow to be fused with `pipes-text`.
+This follows the pattern of `pipes-bytestring` by the
+expedient of regular expressions, and adds a few 
+`pipes-prelude`-like operations for testing.
+
+
+     >>> runEffect $ stdinLn >-> P.takeWhile (/= "quit") >-> stdoutLn
+     hi<Return>
+     hi
+     quit<Return>
+     >>> 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