SETF: a special kind of macro
> (setq a nil) ; setq only for symbols
a
> (setf a '(one two three)) ; setf of a symbol
(ONE TWO THREE)
> (setf (first a) 1) ; setf of a "place"
1
> A ; list was permanently changed
(1 2 3)
Previous slide
Next slide
Back to first slide
View graphic version