[swift-build-dev] Namespacing SPM modules (was Re: [swift-dev] Right list?)

Jason Dusek jason.dusek at gmail.com
Mon Feb 29 13:58:34 CST 2016


On Mon, 29 Feb 2016 at 11:55 Max Howell <max.howell at apple.com> wrote:

> Consider the case where Erica has packages SwiftString, HTMLString,
> PGString, IBMString… These modules all have somewhat different dependencies
> — so you would not necessarily want to download and build all of them — but
> they do form a coherent whole under EricaString. Would this proposal allow
> for names like EricaString.Swift, EricaString.HTML and EricaString.IBM
>
> In the current system a package can contain multiple modules. But a module
> cannot have submodules.
>

Does that allow us to refer to the names of modules qualified by their
package name? It seems weird to not have hierarchical names for
packages/modules (though I recognize these are not really the same thing,
many languages/systems conflate the package namespace with the module
namespace).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20160229/69b7a0f5/attachment.html>


More information about the swift-build-dev mailing list