~ chicken-core (chicken-5) 0d40564d6a2abca4a68f906cfbfaffdbceab28ae
commit 0d40564d6a2abca4a68f906cfbfaffdbceab28ae
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Wed Nov 18 12:30:18 2009 +0100
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Wed Nov 18 12:30:18 2009 +0100
slight rewording and example in manual for define-compiler-syntax
diff --git a/manual/Non-standard macros and special forms b/manual/Non-standard macros and special forms
index d016c02d..90d96566 100644
--- a/manual/Non-standard macros and special forms
+++ b/manual/Non-standard macros and special forms
@@ -319,7 +319,15 @@ expression and compile it normally.
In the interpreter this form does nothing and returns an unspecified value.
-Compiler-syntax is never exported from a module.
+Compiler-syntax is always local to the current compilation unit and can not be
+exported.
+
+<scheme>
+(define-compiler-syntax +
+ (syntax-rules ()
+ ((_) 1)
+ ((_ x 0) x) ) )
+</scheme>
=== Conditional forms
Trap