From: Hannah S. <ha...@sc...> - 2004-05-26 13:21:17
|
Hallo! On Wed, May 26, 2004 at 04:03:24PM +0300, Nikodemus Siivola wrote: >[...] >Hence, to use uninterned symbols in a macro you need to stuff the symbol >into a variable and splice it into the expansion. Of course, this means >that reading back in the printed representation of the macroexpansion >for evaluation will not work. Save for setting *print-circle* to t. >If you need to do that for debugging or some other reason, you cannot use >uninterned symbols, but may want to investigate GENTEMP instead. Ugh. That'd be reason enough for something like this... :-) (defpackage "MY-CL-USER" (:use "CL") (:shadow "GENTEMP")) (in-package "MY-CL-USER") (defun gentemp (&rest args) (error "gentemp is bad")) >[...] Kind regards, Hannah. |