Re: [Scheme-reports] Replacing two identifiers with the same in an import declaration John Cowan (26 Jan 2014 00:23 UTC)

Re: [Scheme-reports] Replacing two identifiers with the same in an import declaration John Cowan 26 Jan 2014 00:19 UTC

Marc Nieper-Wißkirchen scripsit:

> "In a program or library declaration, it is an error to import
> the same identifier more than once with different bindings,
> or..."
>
> supposed to exclude the case (replace <import set> (foo bar) (foo baz))?

I think it does, though it was not intended to do so.  The original purpose
was of course to prevent you from trying to import the same identifier
from different libraries.

> And (replace <import set> (foo bar) (baz bar)) is supposed to introduce two
> identifiers with the same binding?

I see no reason why not, though no reason for a user to do that, either.

--
The man that wanders far                        cowan@ccil.org
from the walking tree                           http://www.ccil.org/~cowan
        --first line of a non-existent poem by:         John Cowan

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