Skip to content

Commit 26849c6

Browse files
authored
Merge pull request #49 from dvanhorn/next
Typo.
2 parents f45cd37 + 731cf14 commit 26849c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

www/midterms/2.scrbl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ justify your answer.
6161
(begin (define (flip x)
6262
(flop (add1 x)))
6363
(define (flop y)
64-
(flip (sub1 x)))
64+
(flip (sub1 y)))
6565
(flip 5))
6666
)
6767

@@ -72,7 +72,7 @@ How about this one? Again, justify your answer.
7272
(begin (define (flip x)
7373
(flip (flop (add1 x))))
7474
(define (flop y)
75-
(flop (flip (sub1 x))))
75+
(flop (flip (sub1 y))))
7676
(flip 5))
7777
)
7878

0 commit comments

Comments
 (0)