Using SETF
(setq a '(one two three))
(1st a)
-> ONE
(setf (1st a) 1)
-> 1
(1st a)
-> 1
a
-> (1 two three)
Previous slide
Next slide
Back to first slide
View graphic version