| ... | ... | @@ -58,3 +58,17 @@ Some compilers distinguish these namespaces, others do not. |
|
|
|
|
|
|
|
|
|
|
|
- We also may wish to specify recursive module behavior now that the work at formalizing the rules has been done in the previous paper. jhc and helium both implement the algorithm as given to good effect.
|
|
|
|
|
|
|
|
## Alternative proposal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There has been past discussion on mailing lists about clarifying the import/export namespace in a different way. Each type or class constructor in an import or export list could be annotated with its namespace, e.g.
|
|
|
|
|
|
|
|
|
|
|
|
- import Foo (class Foo (Foo,Bar), data Baz())
|
|
|
|
|
|
|
|
|
|
|
|
I believe this would solve the same problems as the above proposal, but would be much less backward-compatible.
|
|
|
|
|
|
|
|
|