remove the-environment, the-root-environment, environment-module
authorAndy Wingo <wingo@pobox.com>
Tue, 2 Sep 2008 06:45:20 +0000 (23:45 -0700)
committerAndy Wingo <wingo@pobox.com>
Tue, 2 Sep 2008 17:30:39 +0000 (10:30 -0700)
* ice-9/boot-9.scm (the-environment, the-root-environment)
  (environment-module): Remove these representation of the interpreter's
  idea of the environment, because they are not valid in the compiled
  case, and are not part of the scheme spec anyway.

ice-9/boot-9.scm

index d52a2b4..b3a81d9 100644 (file)
 
 \f
 
-;;; {Environments}
-;;;
-
-(define the-environment
-  (procedure->syntax
-   (lambda (x e)
-     e)))
-
-(define the-root-environment (the-environment))
-
-(define (environment-module env)
-  (let ((closure (and (pair? env) (car (last-pair env)))))
-    (and closure (procedure-property closure 'module))))
-
-\f
-
 ;;; {Records}
 ;;;