REPL Environment - MIT/GNU Scheme 7.7.90+
Description: MIT/GNU Scheme 7.7.90+

Next: Top-level Environments, Previous: Environment Variables, Up: Environments

### 13.3 REPL Environment

— procedure: nearest-repl/environment

> Returns the current REP loop environment (i.e. the current environment of the closest enclosing REP loop). When Scheme first starts up, this is the same as `user-initial-environment`.

— procedure: ge environment

> Changes the current REP loop environment to environment. Environment can be either an environment or a procedure object. If it's a procedure, the environment in which that procedure was closed is the new environment.