
27 Apr
2014
27 Apr
'14
6:33 a.m.
Am 10.04.2014 08:43, schrieb Ganesh Sittampalam:
Thinking about this more, as a user of a package Y I think I'd be confused if it re-exported symbols that are defined in package X at all even if done with an explicit export list rather than an entire module.
It would take some effort to check if they are actually the same as those in X and therefore won't cause clashes if I also import them from X directly for other purposes.
I think we cannot rely on the fact that A.X and B.X identify the same entity. It may be true today, but may change in future. Thus I would also not recommend re-exporting single identifiers from other packages.