On Thursday, 15 August 2024 at 02:22:58 UTC, user1234 wrote:
>On Wednesday, 14 August 2024 at 20:59:28 UTC, user1234 wrote:
>On Wednesday, 14 August 2024 at 20:37:26 UTC, Nick Treleaven [...]
>A comma expression result can't be used. I think it can only be used as an expression statement, or in the for Increment clause. Are there any cases where it could conflict with bracketed tuples? [...]
No, I cant see one either. Looks like the comma-exp is actually not the blocker ;)
Well this was a clumsy way to say "sorry I was wrong". However I'm pretty confident about the fact that tuples in D will take age to be accepted and implemented. I challenge you to post me an email notification when the following will work with an official D release:
static assert((0,1,2)[1] + 2 == 3);
You can find my email by scrutinizing the messages of the main commiter of https://gitlab.com/styx-lang/styx.
Sorry for the supplemental provocation but let's go: I'll try to keep the address alive for at least 5 years.
Hope to get a message soon ðŸ¤
send a PR you know how
i'm tired of people capable people doing nothing
whenever i can, i submit a PR, even if it annoys the fuck out of me
please, do the same, only that way we'll get native tuples, seems people at the top of the D foundation are busy with other matters that don't seems to be the language
Permalink
Reply