aboutsummaryrefslogtreecommitdiff
path: root/ccwl
diff options
context:
space:
mode:
authorArun Isaac2021-07-20 16:08:26 +0530
committerArun Isaac2021-07-20 16:08:26 +0530
commit308bc011949752f0b452dac5081814674d73f62a (patch)
treedd9d29dc354dbc55aff58d89441fe3a8895c5b72 /ccwl
parentbe338a13488a219bed1ae96d5c264d09c4c35efd (diff)
downloadccwl-308bc011949752f0b452dac5081814674d73f62a.tar.gz
ccwl-308bc011949752f0b452dac5081814674d73f62a.tar.lz
ccwl-308bc011949752f0b452dac5081814674d73f62a.zip
ccwl: Clarify difference between and lambda** and syntax-lambda**.
* ccwl/utils.scm (syntax-lambda**): Clarify difference between and lambda** and syntax-lambda**.
Diffstat (limited to 'ccwl')
-rw-r--r--ccwl/utils.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/ccwl/utils.scm b/ccwl/utils.scm
index 14b1c0a..067308f 100644
--- a/ccwl/utils.scm
+++ b/ccwl/utils.scm
@@ -175,8 +175,10 @@ arguments. For example,
unary-arguments))))))))))))
(define-syntax-rule (syntax-lambda** formal-args body ...)
- "Like lambda**, but for syntax objects. This is useful for writing
-macros that accept keyword arguments. For example,
+ "Like lambda**, but for syntax objects. syntax-lambda** varies
+slightly from lambda** in that the first identifier (or argument)
+passed to the resulting function is ignored. This is useful for
+writing macros that accept keyword arguments. For example,
((syntax-lambda** (a b #:key foo #:key* bar)
(list a b foo bar))