rewrite boolean=? in c

This commit is contained in:
Yuichi Nishiwaki
2014-07-22 09:13:42 +09:00
parent b1ae2c24e5
commit 0d59eee27b
2 changed files with 20 additions and 8 deletions
-8
View File
@@ -589,14 +589,6 @@
s
(fold f (f (car xs) s) (cdr xs))))
;;; 6.3 Booleans
(define (boolean=? . objs)
(or (every (lambda (x) (eq? x #t)) objs)
(every (lambda (x) (eq? x #f)) objs)))
(export boolean=?)
;;; 6.4 Pairs and lists
(define (member obj list . opts)