Skip to content

Commit bd62c1b

Browse files
committed
Rework empty list as a literal.
1 parent b8e76da commit bd62c1b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

langs/hustle/interp-heap-bits.rkt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
(match e
2121
[(Lit d) (cons h (value->bits d))]
2222
[(Eof) (cons h (value->bits eof))]
23-
[(Empty) (cons h (value->bits '()))]
2423
[(Var x) (cons h (lookup r x))]
2524
[(Prim0 'void) (cons h (value->bits (void)))]
2625
[(Prim0 'read-byte) (cons h (value->bits (read-byte)))]

langs/hustle/interp-heap.rkt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
(define (interp-env-heap e r h)
3131
(match e
3232
[(Lit d) (cons h d)]
33-
[(Empty) (cons h '())]
3433
[(Eof) (cons h eof)]
3534
[(Var x) (cons h (lookup r x))]
3635
[(Prim0 'void) (cons h (void))]

0 commit comments

Comments
 (0)