<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>-1. This is not going to work particularly well with qualified import syntax (import {class|struct|enum|typealias} Module.Decl) and blurs disparate imports with each other. I'd rather see grouping of related imports than save a few lines.</div><div id="AppleMailSignature"><br>~Robert Widmann</div><div><br>2016/10/16 3:14、Richard Wei via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> のメッセージ:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=us-ascii">+1. Since we can do `let a, b, c, ...`, it makes sense for `import` to support comma-separated lists.<div class=""><br class=""></div><div class="">-Richard<br class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 15, 2016, at 20:24, Erica Sadun via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Oct 15, 2016, at 6:41 PM, Charles Constant via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">How would we all feel about allowing multiple modules with one import statement? </div><div class=""><br class=""></div><div class="">Eg: the option to write</div><div class=""><br class=""></div><div class=""><span style="background-color:rgb(255,242,204)" class=""><font face="monospace, monospace" class=""> <b class=""><font color="#990000" class="">import</font> <font color="#351c75" class="">Cocoa</font>, <font color="#351c75" class="">Foo</font>, <font color="#351c75" class="">Bar</font>.<font color="#351c75" class="">Baz</font> </b></font> </span></div><div class=""><span style="background-color:rgb(255,242,204)" class=""><br class=""></span></div><div class="">in addition to just:</div><div class=""><br class=""></div><div class=""><div class=""><span style="background-color:rgb(255,242,204)" class=""><font face="monospace, monospace" class=""> <b class=""><font color="#990000" class="">import</font> <font color="#351c75" class="">Cocoa </font></b></font></span></div><div class=""><span style="background-color:rgb(255,242,204)" class=""><font face="monospace, monospace" class=""> <b class=""><font color="#990000" class="">import</font> <font color="#351c75" class="">Foo </font></b></font></span></div><div class=""><span style="background-color:rgb(255,242,204)" class=""><font face="monospace, monospace" class=""> <b class=""><font color="#990000" class="">import</font> <font color="#351c75" class="">Bar.Baz </font></b></font></span></div><div class=""><br class=""></div></div><div class="">When I'm writing smaller files that import a few modules, I'd prefer to lump the imports together like this. Doesn't seem like a feature that would require much effort to implement either.</div></div></div></blockquote><br class=""></div><div class="">I'm fine with this. I'd also like `import as` to handle namespacing simplification and conflict resolution</div><div class=""><br class=""></div><div class="">`import Bar.Baz as Bif`</div><div class=""><br class=""></div><div class="">-- E</div><div class=""><br class=""></div><br class=""></div>_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-evolution">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""></div></blockquote></div><br class=""></div></div></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>