LLM's think we should have language tuples!

Nick Treleaven nick at geany.org
Fri Apr 4 16:16:07 UTC 2025


On Friday, 4 April 2025 at 15:39:02 UTC, Nick Treleaven wrote:
> Actually it requires `import std.typecons;` otherwise you get:
>
> ```
> /home/nick/os/tupdip.d(6): Error: undefined identifier `std`
>   auto (x, y, z) = (1, 2, 3);
>                    ^
> ```
> Probably that should be automatic.

https://github.com/tgehr/dmd/pull/1

I'll look at doing the same for tuple types.


More information about the Digitalmars-d mailing list