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

Ankit Agarwal ankit at ankit.im
Mon Feb 29 14:32:29 CST 2016


The proposal looks great. This would be easy to use and could be handy
someday!

On Tue, Mar 1, 2016 at 1:28 AM, Jason Dusek via swift-build-dev <
swift-build-dev at swift.org> wrote:

>
>
> 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).
>
> _______________________________________________
> swift-build-dev mailing list
> swift-build-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-build-dev
>
>


-- 
Ankit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20160301/5c9f33e6/attachment.html>


More information about the swift-build-dev mailing list