Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr13.news.prodigy.com.POSTED!76c40066!not-for-mail Sender: peter@xeon Newsgroups: comp.lang.lisp Subject: Re: macro help? References: <2e262238.0311140946.68849c8f@posting.google.com> From: Peter Seibel Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 63.202.20.17 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr13.news.prodigy.com 1068832622 ST000 63.202.20.17 (Fri, 14 Nov 2003 12:57:02 EST) NNTP-Posting-Date: Fri, 14 Nov 2003 12:57:02 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: OH]US\CDWJWKBFH[OZK@_TDAYZOZ@GXOXB_J]Q]KEYUNDQUCCNSUAACY@L[ZX__HGFD]JBJNSFXTOOGA_VWY^_HG@FW_HUTHOH]TBPGCO\P^PLP^@[GLHUK@WLECKFVL^TYG[@RMWQXIWM[SDDYWNLG_G[_BWUCHFY_Y@AS@Q[B\APPF@DCZM_PG_VSCPQZM Date: Fri, 14 Nov 2003 17:57:02 GMT jtd...@eos.ncsu.edu (Justin Dubs) writes: > Peter Seibel wrote in message news:... > > Prof Ric Crabbe writes: > > > > > I'm afraid I'm not very good with macros and I've been banging my > > > head against this problem all day. > > > > [snip] > > > > > now the setf is assigning to the gensym... *sigh* Clearly, i have no > > > idea what I'm doing. Can anyone enlighten me on the proper way to do > > > this? (Also, I suspect the interning of the string might be > > > considered bad style. What should that be?) > > > > This might be a good time for me to point out that I've put some more > > chapters of my upcoming Common Lisp book up on the web at > > > > > > > > In particular you might want to check out the chapter on writing > > macros at: > > > > > > > > Since you're right in the thick of trying to understand macros, I'd > > love to hear your feedback on whether this chapter helps at all or > > just adds to your confusion. > > Nice work on the new chapters. I found a few typos I thought I should point out: Thanks. -Peter -- Peter Seibel pe...@javamonkey.com Lisp is the red pill. -- John Fraser, comp.lang.lisp