Re: [Scheme-reports] Draft 3 Comments: Chapter 6 Alex Shinn (04 Aug 2011 04:16 UTC)
Re: [Scheme-reports] Draft 3 Comments: Chapter 6 Andre van Tonder (04 Aug 2011 04:42 UTC)
Re: [Scheme-reports] Draft 3 Comments: Chapter 6 Alex Shinn (04 Aug 2011 05:01 UTC)

Re: [Scheme-reports] Draft 3 Comments: Chapter 6 Alex Shinn 04 Aug 2011 04:16 UTC

On Thu, Aug 4, 2011 at 1:05 PM, Andre van Tonder <andre@het.brown.edu> 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
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports