<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">So, proposal one (and 1b), more technical sounding<br class=""><div class=""><br class=""></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class="">public</div></div><div class=""><div class="">internal (or intramodule)</div></div><div class=""><div class="">intrafile</div></div><div class=""><div class="">private</div></div></blockquote></div></div></blockquote><div>`intrafile` and `intramodule` sound esoteric to me.</div><div><br class=""></div></div>I like these ones better:<div class=""><br class=""><div class="">public</div><div class="">moduleonly</div><div class="">fileonly</div><div class="">private//aka, scopeonly? unfortunate that this isn’t automatically clear </div><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""></div><div class="">Tino’s suggestion is also interesting:</div><div class=""><br class=""></div><div class="">visible(public)<br class="">visible(module)<br class="">visible(file)<br class="">visible(scope)<br class="">visible(file, ModuleA, File.swift)</div><div class=""><br class=""></div><div class="">But I think the paren syntax suggested earlier is equivalent, and would be the clearest to both experienced and beginning developers:</div><div class=""><br class=""></div><div class=""><div class="">public</div>private(module)<div class="">private(file)</div><div class="">private(scope)</div></div><div class=""><br class=""></div><div class="">If parens are a no-go, perhaps the following could work:</div><div class=""><br class=""></div><div class="">public</div><div class="">privatetomodule</div><div class="">privatetofile</div><div class="">privatetoscope</div><div class=""><br class=""></div><div class="">I’m not a huge fan of `fileprivate` or `moduleprivate`, because they seem like strange non-words.</div><div class=""><br class=""></div><div class="">-Matt</div></div></div></body></html>