From 0f41ac98eae8246bc776ecfbf30213e1541f8fe0 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 5 Jan 2002 05:57:56 +0000 Subject: [PATCH] Don't unparse environments specially. --- v7/src/runtime/unpars.scm | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/v7/src/runtime/unpars.scm b/v7/src/runtime/unpars.scm index 239f62904..1bbfe07e3 100644 --- a/v7/src/runtime/unpars.scm +++ b/v7/src/runtime/unpars.scm @@ -1,8 +1,8 @@ #| -*-Scheme-*- -$Id: unpars.scm,v 14.49 2001/12/19 03:31:25 cph Exp $ +$Id: unpars.scm,v 14.50 2002/01/05 05:57:56 cph Exp $ -Copyright (c) 1988-2001 Massachusetts Institute of Technology +Copyright (c) 1988-2002 Massachusetts Institute of Technology This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -80,7 +80,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA (COMPLEX ,unparse/number) (CONSTANT ,unparse/constant) (ENTITY ,unparse/entity) - (ENVIRONMENT ,unparse/environment) (EXTENDED-PROCEDURE ,unparse/compound-procedure) (FLONUM ,unparse/flonum) (FUTURE ,unparse/future) @@ -528,7 +527,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ((UNQUOTE-SPLICING) ",@") (else false)))) -;;;; Procedures and Environments +;;;; Procedures (define hook/procedure-unparser) @@ -612,15 +611,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ;;;; Miscellaneous -(define (unparse/environment environment) - (let ((print-self - (ignore-errors - (lambda () - (environment-lookup environment ':PRINT-SELF))))) - (if (and (procedure? print-self) (procedure-arity-valid? print-self 0)) - (print-self) - (unparse/default environment)))) - (define (unparse/variable variable) (*unparse-with-brackets 'VARIABLE variable (lambda () (*unparse-object (variable-name variable))))) -- 2.25.1