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


Computer Aided Design - CAD > Cadence > Re: updating th...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 3974 of 4373
Post > Topic >>

Re: updating the last element in a skill list

by pxhxz@[EMAIL PROTECTED] (Pete nospam Zakel) Apr 25, 2008 at 02:34 PM

In article <48124c55$1@[EMAIL PROTECTED]
> pxhxz@[EMAIL PROTECTED]
 (Pete nospam
Zakel) writes:

>Your statement:
>
>    rplacd( list '(y) )
>
>is equivalent to:
>
>    rplacd( list list( 'y ) )

P.S. rplacd doesn't replace the last item, it replaces the cdr (all the
list
items following the first element, a/k/a the car).

For example:

> y = list( 1 5 6 7 8 9 )
(1 5 6 7 8
    9
)
> rplacd( y list( 2 3 4 ) )
(1 2 3 4)

-Pete Zakel
 (phz@[EMAIL PROTECTED]
)

"Enzymes are things invented by biologists that explain things which
 otherwise require harder thinking."
					-Jerome Lettvin
 




 5 Posts in Topic:
updating the last element in a skill list
nour <nour.laouini@[EM  2008-04-25 10:51:45 
Re: updating the last element in a skill list
Jean-Marc Bourguet <jm  2008-04-25 20:47:56 
Re: updating the last element in a skill list
pxhxz@[EMAIL PROTECTED]   2008-04-25 14:25:41 
Re: updating the last element in a skill list
pxhxz@[EMAIL PROTECTED]   2008-04-25 14:34:03 
Re: updating the last element in a skill list
nour <nour.laouini@[EM  2008-04-26 02:40:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Mon Dec 1 20:15:41 CST 2008.