X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=week9.mdwn;h=dac311cb89dd3763ff28c812a73b4ed41dbe3b40;hp=7554c3dadea4783c79c1c8b8a39e8ecbb18abd1f;hb=5d3d0a72ea4e8f1d23816d851fed8027ce768864;hpb=1807d1cdcaa625362a7e3076656049081af03b5c diff --git a/week9.mdwn b/week9.mdwn index 7554c3da..dac311cb 100644 --- a/week9.mdwn +++ b/week9.mdwn @@ -326,7 +326,7 @@ Similarly: Let's consider how to interpet our new syntactic forms `newref`, `deref`, and `setref`: -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: +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 ...