Improvements to switch

Walter Bright newshound2 at digitalmars.com
Mon Apr 22 23:23:48 UTC 2024


On 4/22/2024 10:33 AM, Richard (Rikki) Andrew Cattermole wrote:
> I was really looking forward to your recent DConf Online talk about matching.
> 
> It is why I have avoided this idea up until now, I wanted to see what you have 
> come up with.
> 
> Same thing for sum types.
> 
> If you have any design work on this subject, I think other people not just 
> myself would be interested in having a read.

Sumtypes must come before pattern matching. I had a proposal for it:

https://www.digitalmars.com/d/archives/digitalmars/D/sumtypes_for_D_366242.html


More information about the dip.ideas mailing list