assignment7 tweaks
authorJim Pryor <profjim@jimpryor.net>
Thu, 18 Nov 2010 23:37:20 +0000 (18:37 -0500)
committerJim Pryor <profjim@jimpryor.net>
Thu, 18 Nov 2010 23:37:20 +0000 (18:37 -0500)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
hints/assignment_7_hint_1.mdwn

index 0d67cd9..effe6ba 100644 (file)
@@ -5,7 +5,7 @@
 
 *      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.