(no commit message)
authorchris <chris@web>
Fri, 20 Feb 2015 19:03:21 +0000 (14:03 -0500)
committerLinux User <ikiwiki@localhost.members.linode.com>
Fri, 20 Feb 2015 19:03:21 +0000 (14:03 -0500)
exercises/_assignment4.mdwn

index 127ecc3..fa9d7c4 100644 (file)
@@ -44,7 +44,7 @@ For instance, `fact 0 ~~> 1`, `fact 1 ~~> 1`, `fact 2 ~~> 2`, `fact 3 ~~>
 
         let fact = ... in
 
-        fac 4
+        fact 4
 
 6.  For this question, we want to implement **sets** of numbers in terms of lists of numbers, where we make sure as we construct those lists that they never contain a single number more than once. (It would be even more efficient if we made sure that the lists were always sorted, but we won't try to implement that refinement here.) To enforce the idea of modularity, let's suppose you don't know the details of how the lists are implemented. You just are given the functions defined below for them (but pretend you don't see the actual definitions). These define lists in terms of [[one of the new encodings discussed last week|/topics/week3_lists#v5-lists]].