<html><body><div>I'd appreciate future extensions to private(submodule) very much!<br></div><div>The drawback with these is that they are quite lengthy, though (not because of typing but because of readability of the real meat, i.e. the declaration name).<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>-Thorsten<br data-mce-bogus="1"></div><div><br>Am 15. März 2016 um 02:50 schrieb Joe Groff via swift-evolution <swift-evolution@swift.org>:<br><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch"><span class="body-text-content"><br><blockquote type="cite" class="quoted-plain-text">On Mar 14, 2016, at 6:47 PM, Ilya Belenkiy via swift-evolution <swift-evolution@swift.org> wrote:</blockquote><blockquote type="cite" class="quoted-plain-text"><br></blockquote><blockquote type="cite" class="quoted-plain-text">I really like James's idea:</blockquote><blockquote type="cite" class="quoted-plain-text"><br></blockquote><blockquote type="cite" class="quoted-plain-text">private symbol visible within the current declaration (class, extension, etc).</blockquote><blockquote type="cite" class="quoted-plain-text">private(module) symbol visible within the current module.</blockquote><blockquote type="cite" class="quoted-plain-text">private(file) symbol visible within the current file.</blockquote><blockquote type="cite" class="quoted-plain-text"><br></blockquote><blockquote type="cite" class="quoted-plain-text">this is very precise and crystal clear. All other already suggested names have room for interpretation. These are obvious at a glance.</blockquote><br>I like this too. It also admits groupings between 'file' and 'module' in the future ('directory' or 'submodule' maybe), the lack of which has been often cited as another weakness in our current model.<br><br>-Joe<br><br>_______________________________________________<br>swift-evolution mailing list<br><a href="mailto:swift-evolution@swift.org" data-mce-href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" data-mce-href="https://lists.swift.org/mailman/listinfo/swift-evolution">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br></span></div></div></blockquote></div></div></body></html>