Skip to content

Commit 9ab75d9

Browse files
committed
adding (DEFINE...) to concrete2.rkt WIP
1 parent ae38c39 commit 9ab75d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

references/sicp/instructors-manual/concrete-test.rkt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
(check-equal? (EXTEND-ENVIRONMENT '(a b) '(1 2) '()) '(([a . 1] [b . 2])))
1313
(check-equal? (EXTEND-ENVIRONMENT '() '() '()) '(()) )
1414

15+
(check-equal? (EXTEND-ENVIRONMENT '(a b) '(1 2)
16+
(EXTEND-ENVIRONMENT '(c d) '(3 4) '()))
17+
'(((a . 1) (b . 2))
18+
((c . 3) (d . 4))))
19+
1520
(check-exn (regexp "Unbound variable 'x") (lambda ()
1621
(LOOKUP-VARIABLE-VALUE 'x '())))
1722

0 commit comments

Comments
 (0)