> On Oct 15, 2016, at 6:41 PM, Charles Constant via swift-evolution 
> <swift-evolution@swift.org> wrote:
> How would we all feel about allowing multiple modules with one import 
> statement? 
> Eg: the option to write
>     import Cocoa, Foo, Bar.Baz  
> in addition to just:
>     import Cocoa   
>     import Foo     
>     import Bar.Baz 
> 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.

I'm fine with this. I'd also like `import as` to handle namespacing 
simplification and conflict resolution

`import Bar.Baz as Bif`

-- E

swift-evolution mailing list

Reply via email to