[swift-evolution] [pitch] "import" declaration, support for comma-separated modules
charles at charlesism.com
Sat Oct 15 19:41:00 CDT 2016
How would we all feel about allowing multiple modules with one import
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution