Discussion Thread: DIP 1037--Add Unary Operator ...--Community Review Round 1

Delt detla.bravo at gmail.com
Sun Nov 1 18:37:23 UTC 2020

On Sunday, 1 November 2020 at 16:37:19 UTC, Andrei Alexandrescu 
> On 11/1/20 5:15 AM, claptrap wrote:
>> On Saturday, 31 October 2020 at 23:09:31 UTC, Manu wrote:
>>> On Sat, Oct 31, 2020 at 12:05 PM Paul Backus via 
>>> Digitalmars-d < digitalmars-d at puremagic.com> wrote:
>>> Is "Alias Sequence" present in spec language?
>>> This really demonstrates how much D needs first-class tuples; 
>>> this area of
>>> the language is a shit-fight, and essentially just a weird 
>>> abuse of
>>> template argument lists mixed with `alias` and some 
>>> implementation defined
>>> behaviour, which happens to look and feel a lot like a tuple.
>> tuples already exists in other languages, in math / set 
>> theory, it's already a fairly well established idea and it 
>> seems a bit weird for D to invent its own name for what's 
>> essentially the same thing.
> It isn't the same thing.

Essentially the same != the same

Addition using integers is still called addition even if it isn't 
the same thing as mathematical arithmetic.

More information about the Digitalmars-d mailing list