Subject: Re: setq x setf
From: Erik Naggum <>
Date: 2000/06/15
Newsgroups: comp.lang.lisp
Message-ID: <>

* 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.

  If this is not what you expected, please alter your expectations.