From ... From: Erik Naggum Subject: Re: setq x setf Date: 2000/06/15 Message-ID: <3170048924854920@naggum.no>#1/1 X-Deja-AN: 634803727 References: <0f106a56.4f744979@usw-ex0102-016.remarq.com> mail-copies-to: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@eunet.no X-Trace: oslo-nntp.eunet.no 961060281 28054 195.0.192.66 (15 Jun 2000 09:11:21 GMT) Organization: Naggum Software; vox: +47 8800 8879; fax: +47 8800 8601; http://www.naggum.no User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.6 Mime-Version: 1.0 NNTP-Posting-Date: 15 Jun 2000 09:11:21 GMT Newsgroups: comp.lang.lisp * glauber | What's the difference between setq and setf? setq is a special operator that takes a variable (binding, really) and a value, and causes references to that variable (binding) after the setq to yield the value. setf is a macro that takes a place (generalized reference) and a value, and causes references to the place after the setf to yield the value, in ways appropriate for each place. It expands into setq for variables (bindings), for instance. #:Erik -- If this is not what you expected, please alter your expectations.