week9 tweak
authorJim Pryor <profjim@jimpryor.net>
Mon, 22 Nov 2010 03:43:58 +0000 (22:43 -0500)
committerJim Pryor <profjim@jimpryor.net>
Mon, 22 Nov 2010 03:43:58 +0000 (22:43 -0500)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
week9.mdwn

index 363b5d9..7554c3d 100644 (file)
@@ -326,7 +326,7 @@ Similarly:
 Let's consider how to interpet our new syntactic forms `newref`, `deref`, and `setref`:
 
 
-1.     **newref starting_val** should allocate a new reference cell in the store and insert `starting_val` into that cell. It should return some "key" or "index" or "pointer" to the newly created reference cell, so that we can do things like:
+1.     When `expr` evaluates to starting\_val, **newref expr** should allocate a new reference cell in the store and insert `starting_val` into that cell. It should return some "key" or "index" or "pointer" to the newly created reference cell, so that we can do things like:
 
                let ycell = newref 1
                in ...