Subject: Re: setq setf
From: Erik Naggum <erik@naggum.net>
Date: Sat, 09 Mar 2002 18:30:46 GMT
Newsgroups: comp.lang.lisp
Message-ID: <3224687455847318@naggum.net>
* Erik Naggum
> You can always use setf where setq is applicable, so if you always use
> setf, you cannot go wrong. setq only works on variables that are named
> by symbols.
* Paul Foley
| And on symbol-macros, in which case it really means SETF.
Yikes, it is true. Well, it should be, in order to make symbol-macros
work transparently, but this should be a pretty good argument for always
using setf, or even renaming setf to set.
///
--
In a fight against something, the fight has value, victory has none.
In a fight for something, the fight is a loss, victory merely relief.