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?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Peter Seibel  
View profile  
 More options Nov 13 2003, 8:41 pm
Newsgroups: comp.lang.lisp
From: Peter Seibel <pe...@javamonkey.com>
Date: Fri, 14 Nov 2003 01:40:14 GMT
Local: Thurs, Nov 13 2003 8:40 pm
Subject: Re: macro help?
Prof Ric Crabbe <cra...@crab.cs.usna.edu> 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

  <http://www.gigamonkeys.com/book/>

In particular you might want to check out the chapter on writing
macros at:

  <http://www.gigamonkeys.com/book/macros-defining-our-own.html>

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.

-Peter

--
Peter Seibel                                      pe...@javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.