OT: (C#) Type Unions for C#

Kapendev alexandroskapretsos at gmail.com
Tue Aug 6 19:44:12 UTC 2024


On Friday, 2 August 2024 at 10:29:22 UTC, ryuukk_ wrote:
> Some people over here like to take C# as inspiration for new 
> DIPs
>
> Well, tagged union is coming to C#, let's resurrect that old 
> DIP and go submit a PR

Tagged unions in C# seem quite complex. 🤢
Maybe the OdinLang implementation might be a better inspiration: 
https://odin-lang.org/docs/overview/#unions


More information about the Digitalmars-d mailing list