Skip to content

Commit 39e77a1

Browse files
authored
pass symbol, not procedure
can't match a procedure
1 parent 415626a commit 39e77a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

labs/lab06.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ consisting of numbers 1,2,3,4,5,6,7 with 4 being the active number.
7777
```racket
7878
(define t (tape '(3 2 1) 4 '(5 6 7)))
7979
80-
(change - t) => '(tape (3 2 1) 3 (5 6 7))
81-
(change + t) => '(tape (3 2 1) 5 (5 6 7))
80+
(change '- t) => '(tape (3 2 1) 3 (5 6 7))
81+
(change '+ t) => '(tape (3 2 1) 5 (5 6 7))
8282
(move 'left t) => '(tape (2 1) 3 (4 5 6 7))
8383
(move 'right t) => '(tape (4 3 2 1) 5 (6 7))
8484
```

0 commit comments

Comments
 (0)