Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion macro help?

Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!128.38.10.51.MISMATCH!oanews!info.usuhs.mil!cadig2.usna.navy.mil!not-for-mail
From: Prof Ric Crabbe <cra...@crab.cs.usna.edu>
Newsgroups: comp.lang.lisp
Subject: Re: macro help?
Date: 17 Nov 2003 19:15:21 -0500
Organization: United States Naval Academy
Lines: 25
Message-ID: <wzcllqecz1i.fsf@crab.cs.usna.edu>
References: <wzcznezdcr8.fsf@crab.cs.usna.edu> <sfw4qx7dki4.fsf@shell01.TheWorld.com> <wzcvfpid3jn.fsf@crab.cs.usna.edu> <wk1xs6k297.fsf@nhplace.com>
NNTP-Posting-Host: crab.cs.usna.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: cadig2.usna.navy.mil 1069114668 17074 131.122.89.100 (18 Nov 2003 00:17:48 GMT)
X-Complaints-To: news@usna.navy.mil
NNTP-Posting-Date: Tue, 18 Nov 2003 00:17:48 +0000 (UTC)
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

Kent M Pitman <pit...@nhplace.com> writes:

> Prof Ric Crabbe <cra...@crab.cs.usna.edu> writes:
> 
> > Kent M Pitman <pit...@world.std.com> writes:
> > > 
> > > DEFVAR is a declarative form.  It doesn't make sense to do in a loop.
> > 
> > then what I was trying to do wasn't clear.  The point is that each
> > pass through, the variable being defined would have a different name.
> [...]
> > Can this be done without a loop?
> 
> Not the right question.  The loop needs to be there BUT at compile time
> not at runtime.  Consider:
> 

Ah.  Now I am enlightened, and I now understand that you tried to tell
me this before, but I didn't get it.  Thank you for your patience;
I've learned more about macros this week than in all my other years of
lisp programming.

cheers,
ric