Subject: Re: ASDF woes
From: (Rob Warnock)
Date: Thu, 10 Nov 2005 23:47:31 -0600
Newsgroups: comp.lang.lisp
Message-ID: <>
bradb <> wrote:
| Hi all, I get the feeling that this is an easy question, but I couldn't
| find the answer easily.  It appears that I need to somehow load the
| file before it gets compiled.  My macro relies on a function, asdf
| complains that the function doesn't exist yet.

Macro definitions affect the compile-time -- or more precisely,
the macro-expansion-time -- environment of the compiler; function
definitions normally do not. Macros need to be able to run at
compile-time/macro-expansion-time, so if a macro calls an external
function, the DEFUN for that function needs to be inside an
appropriate EVAL-WHEN[1] to force *it* into the compile-time
environment as well.



Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607