edits
authorChris <chris.barker@nyu.edu>
Sat, 14 Mar 2015 18:17:34 +0000 (14:17 -0400)
committerChris <chris.barker@nyu.edu>
Sat, 14 Mar 2015 18:17:34 +0000 (14:17 -0400)
exercises/_assignment6.mdwn

index e68d3f1..9a3d04c 100644 (file)
@@ -97,11 +97,13 @@ those places working that you can use the code to evaluate terms.
 6. A snag: what happens when we want to replace a variable with a term
 that itself contains a free variable?  
 
-    term          environment
-    ------------- -------------
-    (\w.(\y.y)w)2 []
-    (\y.y)w       [w->2]
-    y             [w->2, y->w]
+<pre>
+term          environment
+------------- -------------
+(\w.(\y.y)w)2 []
+(\y.y)w       [w->2]
+y             [w->2, y->w]
+</pre>
 
 In the first step, we bind `w` to the argument `2`.  In the second
 step, we bind `y` to the argument `w`.  In the third step, we would