Adding sets to the language.

weaselcat via Digitalmars-d digitalmars-d at puremagic.com
Sun Mar 29 12:32:47 PDT 2015


On Sunday, 29 March 2015 at 14:23:10 UTC, bearophile wrote:
> w0rp:
>
>> Every now and then I want a set type,
>
> I think you can implement good enough sets in Phobos, do you 
> agree?
>
> But you can't do the same with tuples. So I prefer sets in 
> Phobos and tuples in the language.
>
> Bye,
> bearophile

+1 for tuples in language, it's one of the few things that would 
become far more useful as a core language feature.


Is std.container in need of more containers?


More information about the Digitalmars-d mailing list