Discussion Thread: DIP 1037--Add Unary Operator ...--Community Review Round 1
turkeyman at gmail.com
Sun Nov 1 21:48:59 UTC 2020
On Mon, Nov 2, 2020 at 12:41 AM claptrap via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:
> On Sunday, 1 November 2020 at 10:45:48 UTC, Ola Fosheim Grøstad
> > On Sunday, 1 November 2020 at 10:15:44 UTC, claptrap wrote:
> >> To me "alias sequence" is an implementers name, it's named for
> >> how it's implemented not for the actual concept.
> > Yes, but tuples should have struct semantics, and structs hold
> > values, not aliases.
> Why should they? Why cant a tuple hold aliases? That's
> essentially what AliasSeq is isnt it?
> I mean you shouldn't have to use arrays at run time and then
> entitylist at compile time, just because its holding something CT
> only. An array is an array.
> Maybe Im being naive or idealistic though.
That's 1st-class-types talk ;)
It would be great if D had first-class types. Stefan has ideas how to move
in that direction, but my feeling has been that leadership is generally
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Digitalmars-d