[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: issue LOAD-TIME-EVAL
- To: cl-compiler@sail.stanford.edu
- Subject: Re: issue LOAD-TIME-EVAL
- From: masinter.pa@Xerox.COM
- Date: 5 Jan 89 21:41 PST
- Cc: masinter.pa@Xerox.COM
- In-reply-to: sandra%defun@cs.utah.edu (Sandra J Loosemore)'s message of Tue, 3 Jan 89 15:28:30 MST
I don't think (CONS #1=(LOAD-TIME-VALUE (COMPUTE-IT)) #1#)
is a good example; you'd do better to say, e.g.,
(defmacro cons-self (x) `(cons ,x ,x))
(cons-self (load-time-value (compute-it)))
the macro expansion of load-time-value might contain EQ structures. This is
a pretty subtle point that really has to do with macro-expansion-caching --
you'd be better off explaining what you're outlawing here.