CS 3304: Comparative Languages
FP Foundations, Scheme
[
Course Documents
] : [
FP Foundations, Scheme
]
Previous
Contents
Next
Keyword Index
Imperative Features in Scheme
"Functions" that modify/change a data structure are called
mutators
By convention, mutator names end in "!"
SET! binds or rebinds a value to a name
SET-CAR! replaces the car of a list
SET-CDR! replaces the cdr part of a list