On Thu, Aug 4, 2011 at 1:05 PM, Andre van Tonder <[email protected]> wrote: > On Thu, 4 Aug 2011, Alex Shinn wrote: > >> It's the environment programs start with. >> >> The result is that any program can be cut&paste into >> an interactive REPL and still work, and any interactive >> session can be saved and used as a program, so long >> as it's prefixed with (import (scheme base)). > > Even if the program contains imports conflicting with prior imports or > bindings in the REPL (assuming as John does a non-empty REPL), or > redefinitions of bindings previously imported into the REPL?
No, the reverse direction (interactive->batch) is not guaranteed. -- Alex _______________________________________________ Scheme-reports mailing list [email protected] http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports
