[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why (eval-when-compile (require 'foo)) does not bind functions durin

From: Barry Margolin
Subject: Re: Why (eval-when-compile (require 'foo)) does not bind functions during compilation?
Date: Sun, 30 Aug 2015 15:18:13 -0400
User-agent: 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
> compiler.

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
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

reply via email to

[Prev in Thread] Current Thread [Next in Thread]