(register-predicate! record? 'record
'<= %record?
'<= named-structure?)
- (register-predicate! record-type? 'record-type '<= record?)
(register-predicate! stack-address? 'stack-address)
(register-predicate! thread-mutex? 'thread-mutex)
(register-predicate! undefined-value? 'undefined-value)
#f)))
(set! record-type-type-tag (make-dispatch-tag type))
(%record-set! type 0 record-type-type-tag)
- (%record-set! type 1 record-type-type-tag))
+ (%record-set! type 1 record-type-type-tag)
+ (%set-record-type-predicate! type record-type?))
(initialize-structure-type-type!))
\f
(define (make-record-type type-name field-names