Subject: Re: Other macros in COMMON-LISP that generate names a la DEFSTRUCT?
From: rpw3@rpw3.org (Rob Warnock)
Date: Mon, 16 Aug 2004 06:35:25 -0500
Newsgroups: comp.lang.lisp
Message-ID: <N_OdndtHGO9gBr3cRVn-hg@speakeasy.net>
Peter Seibel  <peter@javamonkey.com> wrote:
+---------------
| Are there any macros defined in the language standard that generate
| global names similar to the the way DEFSTRUCT does other than
| DEFSTRUCT. I don't mean macros like DEFUN, DEFCLASS, etc. that use
| names provided by the macro caller but ones that actually generate a
| symbol that was not passed as an argument to the macro and then give
| it a global meaning the way (defstruct foo x y) does for MAKE-FOO,
| COPY-FOO, FOO-P, FOO-X, and FOO-Y?
+---------------

DEFINE-CONDITION, for sure.

And maybe DEFSETF & DEFINE-SETF-EXPANDER, if you consider the
#'FOO => #'(SETF FOO) transformation to be included in your
criteria (though the naming of the generated setf functions
may not be completely standardized, I'm not sure).


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607