.
original commit: 7bf4cbba1009e5028fb78fb1ad862e30953c1b22
This commit is contained in:
parent
5d498d9ded
commit
b938fc8025
|
@ -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 '())
|
||||
|
|
Loading…
Reference in New Issue
Block a user