summary refs log tree commit diff
path: root/mew.svnwiki
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-10-14 16:32:48 +0200
committerLeah Neukirchen <leah@vuxu.org>2022-10-14 16:32:48 +0200
commita910ff6a10d316813194203e189036586e1b9154 (patch)
tree9ffe2fb51d82a6ca771182eaa6dee8f68246e9ba /mew.svnwiki
parentf35a817f5d54dd58c12f5d823e309749e4501c08 (diff)
downloadmew-a910ff6a10d316813194203e189036586e1b9154.tar.gz
mew-a910ff6a10d316813194203e189036586e1b9154.tar.xz
mew-a910ff6a10d316813194203e189036586e1b9154.zip
add fun->, fun->>
Diffstat (limited to 'mew.svnwiki')
-rw-r--r--mew.svnwiki8
1 files changed, 8 insertions, 0 deletions
diff --git a/mew.svnwiki b/mew.svnwiki
index 3372ff3..94469d2 100644
--- a/mew.svnwiki
+++ b/mew.svnwiki
@@ -240,3 +240,11 @@ Nesting macros: {{->}} inserts the previous part as the second argument:
 
 You can mix {{->}} and {{->>}} macros:
 {{(->> a -> b c ->> d e f)}} expands to {{(d e f (b a c))}}.
+
+<syntax>(fun-> b c -> d e f)</syntax>
+<syntax>(fun->> b c ->> d e f)</syntax>
+
+Nesting lambdas: like {{->}} but the nesting starts with the argument
+of the lambda.
+{{(fun-> b c -> d e f)}} expands to {{(lambda (x) (-> x -> b c -> d e f))}}.
+{{(fun->> b c ->> d e f)}} expands to {{(lambda (x) (->> x ->> b c ->> d e f))}}.