[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble with `export'.
From: |
Dirk Herrmann |
Subject: |
Re: Trouble with `export'. |
Date: |
Tue, 5 Jun 2001 23:06:48 +0200 (MEST) |
On 5 Jun 2001, Rob Browning wrote:
> Dirk Herrmann <address@hidden> writes:
>
> > We can not solve all problems with respect to binding conflicts, but
> > we should decide about a policy, like for example that conflicts
> > will result in errors. With the possibility to selectively import
> > bindings, and in addition to rename bindings when imported, plus the
> > possibility to rename bindings when exporting them there should be
> > enough possiblilities to avoid conflicts while still being flexible.
>
> This is true, but Marius still had a good point. What happens if a
> module your module is already using suddenly starts exporting a symbol
> that you were already using locally? You haven't changed your code at
> all, but now your module is broken.
Hmmm. Yes, that's a problem. It seems that the 'import all' paradigm
itself is broken. You would never run into problems if you had to state
explicitly where each binding should come from. Or, more exactly, you
still could run into conflicts, but all these conflicts should be
detectable and not happen silently.
Best regards,
Dirk Herrmann
- Re: Trouble with `export'., (continued)
Re: Trouble with `export'., Dirk Herrmann, 2001/06/05
- Re: Trouble with `export'., Rob Browning, 2001/06/05
- Re: Trouble with `export'.,
Dirk Herrmann <=
- Re: Trouble with `export'., Marius Vollmer, 2001/06/05
- Re: Trouble with `export'., Dirk Herrmann, 2001/06/06
- Re: Trouble with `export'., Marius Vollmer, 2001/06/06
- Re: Trouble with `export'., Dirk Herrmann, 2001/06/07
- Re: Trouble with `export'., Marius Vollmer, 2001/06/09
- Re: Trouble with `export'., Dirk Herrmann, 2001/06/10
- Re: Trouble with `export'., Marius Vollmer, 2001/06/13
- Re: Trouble with `export'., Rob Browning, 2001/06/13
- Re: Trouble with `export'., Marius Vollmer, 2001/06/14
- Re: Trouble with `export'., Dirk Herrmann, 2001/06/20