1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-27 23:40:24 +02:00

* boot-9.scm (inherit-print-state): Moved definition to the

neighborhood of the record code.
This commit is contained in:
Marius Vollmer 1997-10-31 22:16:24 +00:00
parent 43085eebce
commit cf8f1a90f9

View file

@ -321,6 +321,12 @@
;;
;; It should print OBJECT to PORT.
(define (inherit-print-state old-port new-port)
(if (pair? old-port)
(cons (if (pair? new-port) (car new-port) new-port)
(cdr old-port))
new-port))
;; 0: type-name, 1: fields
(define record-type-vtable
(make-vtable-vtable "prpr" 0
@ -2852,9 +2858,3 @@
(define-module (guile))
(append! %load-path (cons "." ()))
(define (inherit-print-state old-port new-port)
(if (pair? old-port)
(cons (if (pair? new-port) (car new-port) new-port)
(cdr old-port))
new-port))