Skip to content

Commit

Permalink
Fix signature of interp in Iniquity and later.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvanhorn committed Nov 5, 2024
1 parent 9f48000 commit d60ee92
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions iniquity/interp.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
(match p
[(Prog ds e)
(interp-env e '() ds)]))

;; Expr Env -> Answer
;; Expr Env Defns -> Answer
(define (interp-env e r ds)
(match e
[(Lit d) d]
Expand Down
3 changes: 1 addition & 2 deletions jig/interp.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
(match p
[(Prog ds e)
(interp-env e '() ds)]))

;; Expr Env -> Answer
;; Expr Env Defns -> Answer
(define (interp-env e r ds)
(match e
[(Lit d) d]
Expand Down
3 changes: 1 addition & 2 deletions knock/interp.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
(match p
[(Prog ds e)
(interp-env e '() ds)]))

;; Expr Env -> Answer
;; Expr Env Defns -> Answer
(define (interp-env e r ds)
(match e
[(Lit d) d]
Expand Down
3 changes: 1 addition & 2 deletions loot/interp.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
(match p
[(Prog ds e)
(interp-env e '() ds)]))

;; Expr Env -> Answer
;; Expr Env Defns -> Answer
(define (interp-env e r ds)
(match e
[(Lit d) d]
Expand Down

0 comments on commit d60ee92

Please sign in to comment.