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

Manu turkeyman at gmail.com
Sat Oct 31 23:02:22 UTC 2020


On Sat, Oct 31, 2020 at 11:50 AM Andrei Alexandrescu via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On 10/30/20 7:55 PM, Manu wrote:
> > I was about to raise both those examples you showed here. I show
> > staticMap's implementation right there, and I also show types in tuples.
> > The trouble as I see is that there's a spec language problem, where a
> > tuple element is a 'kind of thing' that I don't know what to call that.
>
> Sorry, I must have missed it!
>
> I think a good term is "alias sequence" because AliasSeq in std.meta
> comprises exactly those. Generally relating this to stuff and terms in
> the language spec and stdlib docs would be great.
>

So should I drop the language 'tuple' entirely? D doesn't actually propose
to have tuples, I guess that's just the colloquial name for alias
sequences.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20201101/6f6a008b/attachment.htm>


More information about the Digitalmars-d mailing list