(define interaction-i/o-port)
(define (initialize-package!)
+ ;; TODO(cph): This expression is temporary to prevent the build from breaking.
+ ;; It will be removed in a subsequent change.
+ (if (not (predicate? port?))
+ (register-predicate! port? 'port))
+ (register-predicate! input-port? 'input-port '<= port?)
+ (register-predicate! output-port? 'output-port '<= port?)
+ (register-predicate! i/o-port? 'i/o-port '<= (list input-port? output-port?))
(set! current-input-port (make-port-parameter guarantee-input-port))
(set! current-output-port (make-port-parameter guarantee-output-port))
(set! notification-output-port (make-port-parameter guarantee-output-port))
(register-predicate! char? 'char)
(register-predicate! default-object? 'default-object)
(register-predicate! eof-object? 'eof-object)
- (register-predicate! input-port? 'input-port '<= port?)
(register-predicate! list? 'list)
(register-predicate! number? 'number)
- (register-predicate! output-port? 'output-port '<= port?)
(register-predicate! pair? 'pair)
(register-predicate! procedure? 'procedure)
(register-predicate! string? 'string)
(register-predicate! environment? 'environment)
(register-predicate! equality-predicate? 'equality-predicate
'<= binary-procedure?)
- (register-predicate! i/o-port? 'i/o-port '<= (list input-port? output-port?))
(register-predicate! interned-symbol? 'interned-symbol '<= symbol?)
(register-predicate! keyword? 'keyword '<= symbol?)
(register-predicate! lambda-tag? 'lambda-tag)
(BIT-STRING? BIT-STRING?)
(BIT-SUBSTRING-FIND-NEXT-SET-BIT BIT-SUBSTRING-FIND-NEXT-SET-BIT)
(BIT-SUBSTRING-MOVE-RIGHT! BIT-SUBSTRING-MOVE-RIGHT!)
- (BYTEVECTOR-LENGTH BYTEVECTOR-LENGTH)
- (BYTEVECTOR-U8-REF BYTEVECTOR-U8-REF)
- (BYTEVECTOR-U8-SET! BYTEVECTOR-U8-SET!)
- (BYTEVECTOR? BYTEVECTOR?)
+ (BYTEVECTOR-LENGTH BYTEVECTOR-LENGTH 1)
+ (BYTEVECTOR-U8-REF BYTEVECTOR-U8-REF 2)
+ (BYTEVECTOR-U8-SET! BYTEVECTOR-U8-SET! 3)
+ (BYTEVECTOR? BYTEVECTOR? 1)
(CAR CAR)
(CDR CDR)
(CELL-CONTENTS CELL-CONTENTS)
zero?-expansion)
(map (lambda (p)
(make-primitive-expander
- (make-primitive-procedure (cadr p))))
+ (apply make-primitive-procedure (cdr p))))
global-primitives)))
(define usual-integrations/expansion-alist