original commit: 7bf4cbba1009e5028fb78fb1ad862e30953c1b22
This commit is contained in:
Matthew Flatt 1999-04-27 17:14:25 +00:00
parent 5d498d9ded
commit b938fc8025

View File

@ -293,6 +293,15 @@
l)
(raise-type-error 'last-pair "pair" l)))))
(define boolean=?
(lambda (x y)
(unless (and (boolean? x)
(boolean? y))
(raise-type-error 'boolean=?
"boolean"
(if (boolean? x) y x)))
(eq? x y)))
(define cons? (lambda (x) (pair? x)))
(define empty? (lambda (x) (null? x)))
(define empty '())