On 5/12/05, Greg Buchholz <[EMAIL PROTECTED]> wrote:
> 
> (display (macroexpand '(test 2)))
> 
> ...works perfectly like I'd expect it to when using the interpreter, but
> doesn't work the same with the compiler.  Is that the was it's supposed
> to be?

>From the Chicken FAQ: "Macro bodies that are defined and used in a
compiled source-file are evaluated during compilation and so have no
access to definitions in the compiled file. Note also that during
compile-time macros are only available in the same source file in
which they are defined. Files included via include  are considered
part of the containing file."

Worth reading, the Macros section of the FAQ has many more specifics
about macros and compiled code.

-- Graham


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to