.
original commit: 841b493651edfa411532ac0a4012b32fff00c95e
This commit is contained in:
parent
db359d48e8
commit
ba0e46d214
|
@ -305,6 +305,14 @@
|
|||
(if (boolean? x) y x)))
|
||||
(eq? x y)))
|
||||
|
||||
(define (symbol=? x y)
|
||||
(lambda (x y)
|
||||
(unless (and (symbol? x)
|
||||
(symbol? y))
|
||||
(raise-type-error 'symbol=? "symbol"
|
||||
(if (symbol? 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