[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why (eval-when-compile (require 'foo)) does not bind functions durin
Re: Why (eval-when-compile (require 'foo)) does not bind functions during compilation?
Sun, 30 Aug 2015 15:18:13 -0400
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
In article <address@hidden>,
"Pascal J. Bourguignon" <address@hidden> wrote:
> Your mental model should be that compilation is reading data and
> producing data, and there's no reason for that process to modify the
That basic model applies to most languages, but Lisp is a little
different. The very existence of eval-when-compile means that the
compiler itself is programmable. Lisp allows reflection and
self-reference like this.
And once you allow that, the OP's question becomes very meaningful.
Barry Margolin, address@hidden
*** PLEASE post questions in newsgroups, not directly to me ***