LLM's think we should have language tuples!

user1234 user1234 at 12.de
Fri Apr 4 13:43:36 UTC 2025


On Tuesday, 1 April 2025 at 19:26:53 UTC, Timon Gehr wrote:
> - Unpacking does not yet support auto-expanding, for example:
>
>   (AliasSeq!(int. int) x, int y) = tuple(1, 2, 3);
>
>   does not work yet.

Why should this work ? From the type system point-of-view it's a 
bit like if you say that

```d
((int,int), int) a = (1,2,3);
```

has to work. You dont have to support that.


More information about the Digitalmars-d mailing list