<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>How is this done for things like the Darwin module?<br><br>~Robert Widmann</div><div><br>2015/12/28 20:19、T.J. Usiyan via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; のメッセージ:<br><br></div><blockquote type="cite"><div><div dir="ltr">+1 in general.&nbsp;<div><br></div>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<div>TJ</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 28, 2015 at 7:01 PM, David Waite via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><blockquote type="cite"><div>On Dec 28, 2015, at 5:07 PM, Chris Lattner via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:</div><div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">+1 for this general direction, if not this specific syntax.&nbsp; It would also be great to have import integrate with SPM so you can import a package from an SCM URL.&nbsp; This would be pretty handy in particular for #! scripts.</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"></div></blockquote></span>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".</div><div><br></div><div>-DW</div><div><br></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=3FGfocPbgxkNkmje7djckg9Iw-2BGYY3X6RxJ1tkUXKCqvyhQKm45MYztpRg-2By8KEMtntlMtSiO9BEhRf9AHklbFJZzI7OYnnwyvl3FjmDcBzqfvmcZ-2FKXInZBP0V5-2BUhrIgyKi524mbGep6UwsuKLhGfgAp-2FPrh-2FL4nrytN7TF2YwBKUPBuOqmupIVN1SA3fma7jCDLljICQk1-2FV-2FaT7ENX9axvT7F8L4aqm6-2FYwb2Co-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
</div>
<br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=NX5pLVYXK-2FsoGvk-2BsN3ORSjM6f2-2BhaPL1hRr1LvA767gVJuiX9pkXd5ZRYQNxPLUamDTpOPLxs3nW-2BhiL39wc8pH4ifeudrB4Yd3u5AV3tJLhL-2B65MvzgvSDOltgGgp-2F00ZtIdialfT2pv-2F2AQsxUdKO2-2BEL6wrhhYAi6Ty06LRG99ijLEHn8w-2F3LgZoXyeFEVJnuJ5y1GIQK09H-2BE9eaQbvnyiXeurNVl2XmxL8ohc-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;">
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-evolution mailing list</span><br><span><a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-evolution">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br></div></blockquote></body></html>