(define-primitive-predicate 'quotation scode-quotation?)
(define-primitive-predicate 'ratnum exact-rational?)
(define-primitive-predicate 'recnum number?)
- (define-primitive-predicate 'sequence scode-sequence?)
(define-primitive-predicate 'stack-environment stack-address?)
(define-primitive-predicate 'string string?)
(define-primitive-predicate 'the-environment scode-the-environment?)
(%record-ref object 0)
default-tag))))
+ (define-primitive-predicate-method 'sequence
+ (simple-alternative scode-sequence? open-block?))
+
(define-primitive-predicate-method 'tagged-object
%tagged-object-tag)))
\ No newline at end of file
(every %open-block-definition-named?
names
(cdr actions))))))))
+(register-predicate! open-block? 'open-block '<= scode-sequence?)
(define (%open-block-definition-named? name expr)
(and (scode-definition? expr)