A way to test homework solutions for students
[lambda.git] / assignment2.mdwn
index 8295788..ba4e1b4 100644 (file)
@@ -72,17 +72,15 @@ For these exercises, assume that `LIST` is the result of evaluating:
        (make-list a (make-list b (make-list c (make-list d (make-list e empty)))))
 
 
-1.     What would be the result of evaluating:
+16.    What would be the result of evaluating (see [[Assignment 2 hint 1]] for a hint):
 
                LIST make-list empty
 
-        [[Assignment 2 hint 1]]
-
-2.     Based on your answer to question 1, how might you implement the **map** function? Expected behavior:
+17.    Based on your answer to question 1, how might you implement the **map** function? Expected behavior:
 
        <pre><code>map f LIST <~~> (make-list (f a) (make-list (f b) (make-list (f c) (make-list (f d) (make-list (f e) empty)))))</code></pre>
 
-3.     Based on your answer to question 1, how might you implement the **filter** function? The expected behavior is that:
+18.    Based on your answer to question 1, how might you implement the **filter** function? The expected behavior is that:
 
                filter f LIST