Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Lisp > Re: Newbie: Whe...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 11 of 14 Topic 12464 of 13579
Post > Topic >>

Re: Newbie: When to use 'let' and 'setf' in CL?

by "Alex Mizrahi" <udodenko@[EMAIL PROTECTED] > May 13, 2008 at 04:11 PM

??>> nah, SET is cool:
 ??>>
 ??>> (defun initialize-user-parameters ()
 ??>>   (loop for (keyword variable) in *user-configurable-parameters* do
 ??>>        (awhen (get-user-configuration-parameter keyword)
 ??>>           (set variable it))))

 EW>   (setf (symbol-value variable) it)

 EW> would have exactly the same effect.

sure. but SET is cool.
 




 14 Posts in Topic:
Newbie: When to use 'let' and 'setf' in CL?
Mogens <gundorfslund@[  2008-05-11 14:41:14 
Re: Newbie: When to use 'let' and 'setf' in CL?
"milanj@[EMAIL PROTE  2008-05-11 05:53:25 
Re: Newbie: When to use 'let' and 'setf' in CL?
"Alex Mizrahi"   2008-05-11 16:19:49 
Re: Newbie: When to use 'let' and 'setf' in CL?
danb <sogwaldan@[EMAIL  2008-05-11 13:44:20 
Re: Newbie: When to use 'let' and 'setf' in CL?
Ken Tilton <kennytilto  2008-05-11 16:55:51 
Re: Newbie: When to use 'let' and 'setf' in CL?
usenet2.3.CalRobert@[EMAI  2008-05-11 15:11:12 
Re: Newbie: When to use 'let' and 'setf' in CL?
MasterZiv <masterziv@[  2008-05-12 01:58:39 
Re: Newbie: When to use 'let' and 'setf' in CL?
Chris Barts <chbarts+u  2008-05-12 16:21:19 
Re: Newbie: When to use 'let' and 'setf' in CL?
"Alex Mizrahi"   2008-05-13 14:22:32 
Re: Newbie: When to use 'let' and 'setf' in CL?
Edi Weitz <spamtrap@[E  2008-05-13 13:29:54 
Re: Newbie: When to use 'let' and 'setf' in CL?
"Alex Mizrahi"   2008-05-13 16:11:15 
Re: Newbie: When to use 'let' and 'setf' in CL?
pjb@[EMAIL PROTECTED] (P  2008-05-13 15:24:37 
Re: Newbie: When to use 'let' and 'setf' in CL?
Mikael Jansson <mikael  2008-05-14 12:36:31 
Re: Newbie: When to use 'let' and 'setf' in CL?
pjb@[EMAIL PROTECTED] (P  2008-05-15 12:17:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 7:52:49 CDT 2008.