[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Weird macro behaviour
From: |
Peter Bex |
Subject: |
[Chicken-users] Weird macro behaviour |
Date: |
Thu, 22 Apr 2010 19:20:55 +0200 |
User-agent: |
Mutt/1.4.2.3i |
Hi all,
I'm experimenting a bit, trying to understand how the renaming and
comparing of er-macros work, and I found this really strange thing; if
I copy the definition of er-macro-transformer and the definitions it
depends on to my own file and execute it, I get a different behaviour
than with the built-in one.
When I run "csi -qb test2.scm", I get three lines of foo using my copy
of the Chicken code. When I change the my-er-macro-transformer in the
file to er-macro-transformer, I get two lines of foo.
Can anyone explain this black voodoo magic?
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth
test2.scm
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-users] Weird macro behaviour,
Peter Bex <=