[plt-scheme] mzscheme and R6RS macrology
On Dec 25, 2008, at 10:01 AM, Andreas Rottmann wrote:
> Under Ikarus, the program sucessfully runs and prints "2", as
> intended.
Yes. This is because in Ikarus, a "define" from (rnrs)
means "define" from (rnrs). Ditto for "quote": it cannot
mean something other than what you think it does and You
don't need to say more.
(you can refer to comp.lang.scheme for a long thread of
discussion that I won't repeat here)
> Perhaps someone can shed some light on this?
You probably need to import the identifiers "define" and
"quote" for (meta -1) in the (mz-test bar) library.
That is, do
(import (for (only (rnrs) define quote) (meta -1))
if you want to be precise or do
(import (for (rnrs) run expand (meta -1)))
just to be sure.
Aziz,,,