[Openmcl-devel] SETQ

Robert Boyer boyer at cs.utexas.edu
Tue Dec 16 12:40:48 PST 2008

Thanks for the illumination!

I should say I was thinking about Lisp 1.5, but that
would be a lie.  I just wasn't thinking, as usual.



From: Stelian Ionescu <sionescu at common-lisp.net>
To: openmcl-devel at clozure.com
Date: Tue, 16 Dec 2008 21:33:07 +0100
Subject: Re: [Openmcl-devel] SETQ

Content-Type: multipart/signed; micalg=pgp-sha1;

Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2008-12-16 at 13:47 -0600, Robert Boyer wrote:
> > SETQ is a special form. It cannot be written by a
> > simple macro.
> I get dumber every day, but I increasingly enjoy it
> every time that someone shows me how wrong I am.
> What's so bad about:
>   (defmacro new-setq (x y) `(set ',x ,y))
> In my remarks, I was thinking rhetorically and
> historically about Lisp way back at its creation in the
> 50s, way before the terms 'special form' and 'special
> operator' and 'special' were coined.  No doubt you are
> right, though, in a fine sense.

Quoth the HyperSpec, "If any var refers to a binding made by
symbol-macrolet, then that var is treated as if setf (not setq) had been

Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.

Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

Version: GnuPG v2.0.9 (GNU/Linux)



Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Openmcl-devel mailing list
Openmcl-devel at clozure.com


More information about the Openmcl-devel mailing list