
On 2006-07-06, Simon Marlow
a. we could put package names in module names as you suggest. But apart from sacrificing the second principle, this doesn't let you import a module from a package without specifying the exact version of the package ==> BAD.
Right. There are occasions of course that I do want to specify exact versions -- such as testing two versions side by side.
b. we could add compiler options that let you graft the module namespace of a package into the global module namespace at an arbitrary location.
This seems quite workable.
c. instead of grafting, we add language support to allow importing modules from a particular package (crucically, you don't have to specify the version).
The package still needs to be located somehow, and I don't like this split between tools and language. -- Aaron Denney -><-