[swift-evolution] Beef up Imports

Developer devteam.codafi at gmail.com
Tue Dec 29 14:29:40 CST 2015


How is this done for things like the Darwin module?

~Robert Widmann

2015/12/28 20:19、T.J. Usiyan via swift-evolution <swift-evolution at swift.org> のメッセージ:

> +1 in general. 
> 
> As an aside (In response to David), I have wanted the ability to import 'submodules' from a framework since Swift 1.0. Being able to group related functionality to import is a desirable feature, IMO
> TJ
> 
>> On Mon, Dec 28, 2015 at 7:01 PM, David Waite via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>>> On Dec 28, 2015, at 5:07 PM, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
>>> 
>>> +1 for this general direction, if not this specific syntax.  It would also be great to have import integrate with SPM so you can import a package from an SCM URL.  This would be pretty handy in particular for #! scripts.
>> This seems like it would strongly motivate toward a (possibly directory-scoped or system-scoped) package cache. Not saying thats a bad thing, just that it seems different than the executable packaging Swift has today with “Apps".
>> 
>> -DW
>> 
>> 
>> 
>> _______________________________________________
>> swift-evolution mailing list
>> swift-evolution at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-evolution
> 
> 
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151229/85080f40/attachment.html>


More information about the swift-evolution mailing list