Unpacking syntax

Timon Gehr timon.gehr at gmx.ch
Mon Sep 23 21:36:21 UTC 2024


On 9/16/24 10:49, Max Samukha wrote:
> On Thursday, 5 September 2024 at 22:08:58 UTC, Timon Gehr wrote:
>> These are my ideas for how to support unpacking any tuple-like type 
>> into multiple components.
> 
> Looks good. Now that "ref" is allowed in variable declarations, any 
> reason not to allow it in unpacking ones?
> 

I think it will just work or not work the same way as in non-unpacking 
accesses to tuple indices.


More information about the dip.ideas mailing list