Direct Manipulation of Conses
> (setq x (cons 'a 'b))
(A . B)
> (rplaca x 'c)
(C . B)
> x
(C . B)
> (rplacd x 'd)
(C . D)
> (rplacd x x)
(C C C C C C C C C C ... )
>
Previous slide
Next slide
Back to first slide
View graphic version