scm-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Scm-discuss] cannot use syntax-rules in scm 5e5


From: Steve VanDevender
Subject: [Scm-discuss] cannot use syntax-rules in scm 5e5
Date: Mon, 9 Jun 2008 10:14:19 -0700

Shuangyang Yang writes:
 > Hi all,
 > 
 > I downloaded SCM 5e5 from the website and try to learn macro. When I
 > tried the examples in the scm manual, I confronted an error saying
 > that "syntax-rules" is "unbounded variable", while "define-syntax" is
 > defined. I don't know what happens and cannot find any information
 > through Google. Is there any file I need to load first? Hope anyone
 > can help me. Thank you very much.

Use "(require 'macro)" or invoke scm with "scm -r5 -m" to get R5RS
macro support.  Otherwise R4RS macros are the default.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]