I dun a DIP, possibly the best DIP ever

Manu turkeyman at gmail.com
Wed Apr 22 13:37:26 UTC 2020


On Wed, Apr 22, 2020 at 11:35 PM rikki cattermole via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On 23/04/2020 1:22 AM, Steven Schveighoffer wrote:
> > On 4/22/20 8:19 AM, rikki cattermole wrote:
> >> Change it to something like .unpackSequence instead of ... and I would
> >> be happy.
> >
> > unpackSequence is a valid identifier. That would be a breaking change.
> > Plus it would be less obvious. If anything it would have to be
> > unpackSequence!(expr).
> >
> > Plus there is precedence with C++ for using ...
> >
> > And it makes intuitive sense -- you define tuples with T...
> >
> > -Steve
>
> Yeah.
>
> But it also has precedence with type properties such as mangleof instead
> of the approach C took with sizeof and friends.
>
> Right now we use it in parameters, adding it to the argument side with a
> completely different meaning ugh.
>

I feel it's a perfectly natural expansion of the existing meaning. I'm 300%
happy with the syntax personally, I will have a tantrum if you take it away
from me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20200422/9459eda7/attachment.htm>


More information about the Digitalmars-d mailing list