* boot-9.scm (inherit-print-state): Moved definition to the
authorMarius Vollmer <mvo@zagadka.de>
Fri, 31 Oct 1997 22:16:24 +0000 (22:16 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Fri, 31 Oct 1997 22:16:24 +0000 (22:16 +0000)
neighborhood of the record code.

ice-9/boot-9.scm

index 11668b0..b487e30 100644 (file)
 ;;
 ;; 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
 (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))