Related to this is one paragraph in 5.1:It says:
Import declarations and definitions cause bindings to be
created in the global environment or modify the value of
existing global bindings. The initial environment of a pro-
gram is empty, so at least one import declaration is needed
to introduce initial bindings.
[..] it is an error to import the same identifier more than once withdifferent bindings, or to redefine or mutate an imported binding witha definition or with set!The order of the import and definition don't matter. Section5.6.1 specifically lists two possible implementations oflibraries, in one of which all imports are performed beforethe expressions from begin and include are expanded.Great! This means that my problematic example does not work, which is good.Which leaves the question to which situations the possibility of modifying an existing global binding as mentioned in the quoted paragraph from 5.1. actually applies.
_______________________________________________ Scheme-reports mailing list Scheme-reports@x http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports