[swift-evolution] Revisiting SE-0041 Names
Dmitri Gribenko
gribozavr at gmail.com
Wed Jun 22 19:35:08 CDT 2016
On Wed, Jun 22, 2016 at 5:15 PM, David Sweeris <davesweeris at mac.com> wrote:
> That's a really interesting idea. Is "Syntax" a placeholder, or is that the intended name?
It is the best name we could come up with, we are open to better suggestions.
> Also, why an enum? Especially one without any cases...
It is not possible to create an instance of an enum that does not have
cases. It becomes essentially a namespace.
> Was all this already discussed in a thread that I missed (or have otherwise forgotten about)?
This feedback was provided in one of the threads about SE-0041, but I
can't find the link. It did not get much discussion at that time.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the swift-evolution
mailing list