Lecture 9 - Page 2 : 6
Functional Programming in Scheme
Imperative programming in Scheme
* Imperative Scheme constructs
Imperative Scheme Constructs
List mutators
String mutators
* Imperative features in LAML
Imperative features in LAML
Imperative Scheme Constructs
The most fundamental imperative Scheme construct is the assignment
set!
Other imperative constructs:
(begin e
1
... e
n
)
The iterative
do
control structure
The input output procedures
The list, string and vector mutators
As a notational convention, most imperative abstractions in Scheme ends with "
!
"
Scheme assignment
begin
do
Input output procedures