diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-10-14 16:32:48 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-10-14 16:32:48 +0200 |
commit | a910ff6a10d316813194203e189036586e1b9154 (patch) | |
tree | 9ffe2fb51d82a6ca771182eaa6dee8f68246e9ba /mew.svnwiki | |
parent | f35a817f5d54dd58c12f5d823e309749e4501c08 (diff) | |
download | mew-a910ff6a10d316813194203e189036586e1b9154.tar.gz mew-a910ff6a10d316813194203e189036586e1b9154.tar.xz mew-a910ff6a10d316813194203e189036586e1b9154.zip |
add fun->, fun->>
Diffstat (limited to 'mew.svnwiki')
-rw-r--r-- | mew.svnwiki | 8 |
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))}}. |