alternate Y1,Y2 tweak
authorJim Pryor <profjim@jimpryor.net>
Sat, 16 Oct 2010 18:14:48 +0000 (14:14 -0400)
committerJim Pryor <profjim@jimpryor.net>
Sat, 16 Oct 2010 18:14:48 +0000 (14:14 -0400)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
hints/assignment_4_hint_3_alternate_1.mdwn

index dd55e05..900c6cb 100644 (file)
@@ -13,11 +13,13 @@ Alternate strategy for Y1, Y2
 
                let rec u g x = (let f = u g in A)
                in let rec g y = (let f = u g in B)
 
                let rec u g x = (let f = u g in A)
                in let rec g y = (let f = u g in B)
-               in let f = u g in C
+               in let f = u g in
+               C
 
        or, expanded into the form we've been working with:
 
                let u = Y (\u g x. (\f. A) (u g)) in
                let g = Y (\g y. (\f. B) (u g)) in
 
        or, expanded into the form we've been working with:
 
                let u = Y (\u g x. (\f. A) (u g)) in
                let g = Y (\g y. (\f. B) (u g)) in
-               let f = u g
+               let f = u g in
+               C