[Scheme-reports] DELAY AND FORCE Andre van Tonder (23 Apr 2011 22:20 UTC)
[Scheme-reports] Regions of imports unspecified Andre van Tonder (23 Apr 2011 22:31 UTC)
Re: [Scheme-reports] Regions of imports unspecified John Cowan (23 Apr 2011 22:43 UTC)
Re: [Scheme-reports] Regions of imports unspecified Alex Shinn (24 Apr 2011 01:59 UTC)
[Scheme-reports] What are regions of toplevel imports? Andre van Tonder (23 Apr 2011 23:41 UTC)
Re: [Scheme-reports] What are regions of toplevel imports? Alex Shinn (24 Apr 2011 02:07 UTC)
[Scheme-reports] Internal syntax definition order problem Andre van Tonder (23 Apr 2011 22:39 UTC)
[Scheme-reports] Mutable exports Andre van Tonder (23 Apr 2011 22:48 UTC)
Re: [Scheme-reports] Mutable exports Alex Shinn (24 Apr 2011 02:00 UTC)
[Scheme-reports] Internal definition shadowing problems Andre van Tonder (23 Apr 2011 23:19 UTC)
[Scheme-reports] Importing identifier more than once Andre van Tonder (23 Apr 2011 23:37 UTC)

Re: [Scheme-reports] What are regions of toplevel imports? Alex Shinn 24 Apr 2011 02:06 UTC

On Sun, Apr 24, 2011 at 8:40 AM, Andre van Tonder <andre@het.brown.edu> wrote:
> At the toplevel, what is the initial environment, and
> what are the regions of imported bindings of (A) and (B) in
> 1) REPL programs, and 2) compiled programs?
>
>     (begin c1 ...)
>     (import (A))
>     (begin c2 ...)
>     (import (B))
>     (begin c3 ...))

There's already a ticket for this.

The initial environment of the repl is unspecified,
reflecting the reality that the repls of different
implementations differ greatly.  We may want to
say that it must contain at least (scheme base).

My suggestion is that the initial environment
of programs be empty, and all import forms
be constrained to only occur before non-import
forms.

--
Alex

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports