Change procedure unparser to show the label in a more palatable way.
authorChris Hanson <org/chris-hanson/cph>
Thu, 15 Dec 1988 17:19:45 +0000 (17:19 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 15 Dec 1988 17:19:45 +0000 (17:19 +0000)
v7/src/compiler/base/proced.scm

index 4f442bc905befa88a69703cf7cca1794163c816c..af0223dcbd469b9c77e6e016fb80b597fcea48de 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/base/proced.scm,v 4.8 1988/12/13 13:02:34 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/base/proced.scm,v 4.9 1988/12/15 17:19:45 cph Exp $
 
 Copyright (c) 1988 Massachusetts Institute of Technology
 
@@ -97,13 +97,16 @@ MIT in each case. |#
        (if (eq? type 'PROCEDURE)
           (standard-unparser "PROCEDURE"
             (lambda (state procedure)
-              (unparse-object state (procedure-label procedure))))
+              (unparse-label state (procedure-label procedure))))
           (standard-unparser (symbol->string (procedure-label procedure))
             (lambda (state procedure)
               procedure
               (unparse-object state type)))))
      state procedure)))
 
+(define-integrable (unparse-label state label)
+  (unparse-string state (symbol->string label)))
+
 (define-integrable (rvalue/procedure? rvalue)
   (eq? (tagged-vector/tag rvalue) procedure-tag))
 \f