(scheme repl)

(interaction-environment)

This procedure returns a specifier for a mutable environment that contains an implementation-defined set of bindings, typically a superset of those exported by (arew scheme base). The intent is that this procedure will return the environment in which the implementation would evaluate expressions entered by the user into a REPL.