edits
[lambda.git] / assignment3.mdwn
index 568a5c5..c4ea316 100644 (file)
@@ -70,7 +70,7 @@ same length.  That is,
 5. In assignment 2, we discovered that version 3-type lists (the ones that
 work like Church numerals) made it much easier to define operations
 like `map` and `filter`.  But now that we have recursion in our toolbox,
-reasonable map and filter functions for version 3 lists are within our
+reasonable map and filter functions for version 1 lists are within our
 reach.  Give definitions for `map` and a `filter` for verson 1 type lists.
 
 #Computing with trees#
@@ -89,7 +89,7 @@ Then we have the following representations:
    (a)           (b)             (c)  
     .
    /|\            /\              /\
-  / | \          /\ 3             1/\
+  / | \          /\ 3            /\
   1 2  3        1  2               2 3
 
 [[1];[2];[3]]  [[[1];[2]];[3]]   [[1];[[2];[3]]]
@@ -130,5 +130,5 @@ count-leaves tb ~~> 6
 count-leaves tc ~~> 6
 </pre>
 
-2.   Write a function that counts the number of leaves.#
+2.   Write a function that counts the number of leaves.