2d281405b266 — Linus Björnstam 5 years ago
Better readmi
1 files changed, 5 insertions(+), 4 deletions(-)

M readme.txt
M readme.txt +5 -4
@@ 1,4 1,4 @@ 
-This is nothing else than a clojure-like lambda-like shorthand for guile. The macro is called megacut (which is a bad name, since it is not much like cut).
+This is nothing a clojure-like lambda shorthand for guile. The macro is called megacut (which is a bad name, since it is not much like cut).
 
 
   (megacut (let ((a "Hello ")) (string-append a %1)))

          
@@ 9,6 9,9 @@ It supports rest arguments using the nam
   (megacut (display %3))
     => (lambda (%1 %2 %3) (display %3))
 
+  (megacut (apply + (/ 10 %1) %&))
+   => (lambda (%1 . %&) (apply + (/ 10 %1) %&))
+
 The shorthand % gets converted to %1, so 
   (megacut (+ % %))
     => (lambda (%1) (+ %1 %1))

          
@@ 18,8 21,6 @@ I also provide a clojuresque shorthand:
 
 Should be trivial to port to any syntax-case scheme since only the regex and match part is nonstandard.
 
-It is pretty efficient and should have negligible impact on compile time even for a wildly inappropriate amount of uses.
-
-Now you can even nest megacuts, which might not be a good idea in your code, but might be nice for macros.
+It is pretty efficient and should have negligible impact on compile time even for a wildly inappropriate amount of uses. Megacuts can be nested, which may or may not be a good idea for clarity and sanity reasons, but it works.
 
 Licensed under a permissified BSD-style licence. I am not at all against giving away copyright if the right person or organisation asks.