CS 257: Non-imperative Programming: Scheme!
Homework 1 (Spring 2004)
- (Optional) Write a function add1-when-positive which takes
a number x as its argument and returns x+1 when x >=
0 and returns x otherwise.
- Do the following exercises from Springer and Friedman: 1.12-1.14,
2.2, 2.4, 2.6, 2.7, 2.10, 2.13, 2.14, 2.16, 3.3-3.5, 3.8, 3.11
Due date: Monday Feb. 9.