(null? l1))))
(define-guarantee unique-keyword-list "unique keyword list")
-
+\f
(define (get-keyword-value klist key #!optional default-value)
(let ((lose (lambda () (error:not-a keyword-list? klist 'get-keyword-value))))
(let loop ((klist klist))
(get-keyword-values keylist '<=))
tag))
-(define (predicate->tag predicate #!optional caller)
- (let ((tag (get-predicate-tag predicate #f)))
- (if (not tag)
- (error:not-a predicate? predicate caller))
- tag))
-
(define (predicate-name predicate)
(tag-name (predicate->tag predicate 'predicate-name)))
(define (unregister-predicate! predicate)
(delete-tag! (predicate->tag predicate)))
+(define (predicate->tag predicate #!optional caller)
+ (let ((tag (get-predicate-tag predicate #f)))
+ (if (not tag)
+ (error:not-a predicate? predicate caller))
+ tag))
+
(define (guarantee predicate object #!optional caller)
(if (not (predicate object))
(error:not-a predicate object caller))
(simple-unparser-method 'tag
(lambda (tag)
(list (tag-name tag)))))
-
+\f
(define (tag-description tag)
(or (%tag-description tag)
(object->description (tag-name tag))))