assignment7 tweaks
[lambda.git] / hints / assignment_7_hint_1.mdwn
index 6725def..effe6ba 100644 (file)
@@ -3,9 +3,9 @@
 
 *      Where they represent pegs as natural numbers, that corresponds to our representing locations in a store by their indexes in the store.
 
-*      Where they say "reference system," which they use the leter `r` for, that corresponds to what we've been calling "assignments", and use the letter `g` for.
+*      Where they say "reference system," which they use the leter `r` for, that corresponds to what we've been calling "assignments", and have been using the letter `g` for.
 
-*      Where they say `r[x/n]`, that's our `g{x:=n}`.
+*      Where they say `r[x/n]`, that's our `g{x:=n}`, or in OCaml, `fun v -> if v = 'x' then n else g v`.
 
 *      Their function `g`, which assigns objects from the domain to pegs, corresponds to our store function, which assigns entities to indexes.