Code cleanup

This commit is contained in:
2026-05-19 10:27:23 -05:00
parent dc0724def4
commit 56fdd158d2
2 changed files with 1 additions and 9 deletions

View File

@@ -43,13 +43,6 @@
(deref (var-binding exp))
exp))
;; (define-syntax deref
;; (syntax-rules ()
;; [(_ exp)
;; (begin (while (and (var? exp) (bound? exp))
;; (set! exp (var-binding exp)))
;; exp)]))
(define (rename-vars x)
"Assign a new name to all non-literals.
Accepts clauses with both vars and symbolic variables"

View File

@@ -9,8 +9,7 @@
(define (assert expected actual eq? fail)
(when (and (not (eq? expected actual)))
(format #t "fail - expected ~a but got ~a" expected actual)
(newline)
(format #t "fail - expected ~a but got ~a~%" expected actual)
(fail)))
(define (equal-or-any? expected actual)