This class will be held in the location of our labs, MI 302.
These readings are not required; however, they will be very useful to review this material and/or gain more depth.
These exercises are to be turned in in a single file called
ex.scm
in a folder called class02
, using
the submit program as in labs.
my-append
which has the same
behavior as the append
function built-in to Scheme.
(Your function only has to handle the case when there are exactly
two arguments, and both are lists.)
count-down
which takes a
(positive) integer
n
and produces a list with integers from n
down to 1, in that order.(count-down 4)
should produce the list
(4 3 2 1)
.