[plt-scheme] Macros in the same module
Hi all,
I have defined a macro which expands into a define and then uses
another macro defined in the same module to expand into the define
body.
However, the first macro cannot 'see' the second:
expand: unbound identifier in module (in the transformer environment,
which does not include the macro definition that is visible to
run-time expressions) in: expand-rules
where expand-rules is the name for the second macro that expands into
the define body.
I wonder what I am missing here. Anything I need to make to tell them
about each other?
Cheers,
--
Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.personal.soton.ac.uk/pocm