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