From ... Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!141.201.2.63!newshunter!cosy.sbg.ac.at!newsfeed.Austria.EU.net!newsfeed.kpnqwest.at!nslave.kpnqwest.net!nloc.kpnqwest.net!nmaster.kpnqwest.net!nreader1.kpnqwest.net.POSTED!not-for-mail Newsgroups: comp.lang.lisp Subject: Re: Destructors for CLOS objects References: <18rR7.13$tk5.32632@burlma1-snr2> <3C186D21.E06F2A06@ilt.fhg.de> Mail-Copies-To: never From: Erik Naggum Message-ID: <3217227224777855@naggum.net> Organization: Naggum Software, Oslo, Norway Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 13 Dec 2001 10:13:46 GMT X-Complaints-To: newsmaster@KPNQwest.no X-Trace: nreader1.kpnqwest.net 1008238426 193.71.66.49 (Thu, 13 Dec 2001 11:13:46 MET) NNTP-Posting-Date: Thu, 13 Dec 2001 11:13:46 MET Xref: archiver1.google.com comp.lang.lisp:22337 * Rolf Wester | I'm just a Lisp beginner, so I'm not sure wether I'm right. But shouldn't it read: | | (defmacro with-my-object ((var &rest init-options) &body body) | (let ((obj (gensym))) | `(let (,obj ,var) | instead of `(let (,var ,obj) | | If I'm wrong please correct me. There is a huge difference between ((foo bar)) and (foo bar) in let. The former binds foo to the current value of bar. The latter binds foo and bar to nil, the default value in absence of a value in a binding, and the order is thus immaterial. /// -- The past is not more important than the future, despite what your culture has taught you. Your future observations, conclusions, and beliefs are more important to you than those in your past ever will be. The world is changing so fast the balance between the past and the future has shifted.