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

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Nov 1 16:37:19 UTC 2020


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.



More information about the Digitalmars-d mailing list