Subject: Re: return-from / defmacro question From: Erik Naggum <email@example.com> Date: 1999/04/17 Newsgroups: comp.lang.lisp Message-ID: <firstname.lastname@example.org> * Kent M Pitman <email@example.com> | For example: | | (defmacro bad-let1 ((var init) &body forms) ;<--BAD | `(let ((,var ',(eval init))) | ,@forms)) | | (defmacro good-let1 ((var init) &body forms) ;<--GOOD | `(let ((,var ,init)) | ,@forms)) | | Of course, this means the init will get executed every time the form | is evaluated instead of one, ... if this is important, LOAD-TIME-VALUE would take care of that. (hm, another problematic issue LOAD-TIME-VALUE solves elegantly. it really is quite the neat new special operator. :) #:Erik -- environmentalists are much too concerned with planet earth. their geocentric attitude prevents them from seeing the greater picture -- lots of planets are much worse off than earth is.