On Friday, 9 September 2016 at 18:22:02 UTC, ciechowoj wrote:

I'm not sure about any special syntax which is expected for languages which have built-in sets. It would probably be overkill to add syntax support, but I'm not sure how often people use set literals or not.

E.g. Python has build in literals for sets. C++ has sets in standard library. I see the points against adding something like this to the core of language, but it should be at least in the standard library.

You might find the following SO question informative.

http://stackoverflow.com/questions/7162274/why-is-d-missing-container-classes

Reply via email to