summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.114
1 files changed, 14 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 1b9a672a..0305ef39 100644
--- a/txr.1
+++ b/txr.1
@@ -37039,6 +37039,16 @@ or
.code lambda
form. This is intended for error reporting.
+A parameter transformer returns the transformed parameter list and body as a
+single object: a list whose first element is the parameter list,
+and whose remaining elements are the forms of the body. Thus, the following
+is a correct null transformer:
+
+.verb
+ (lambda (params body env form)
+ (cons params body))
+.brev
+
.coNP Macro @ define-param-expander
.synb
.mets (define-param-expander < name >> ( pvar < bvar : < evar << fvar )
@@ -37086,6 +37096,10 @@ The
form returns
.metn name .
+The parameter macro returns the transformed parameter list and body as a
+single object: a list whose first element is the parameter list,
+and whose remaining elements are the forms of the body.
+
.TP* Example:
The following example shows the implementation