alt.hn

4/5/2026 at 2:53:07 AM

Explore union types in C# 15

https://devblogs.microsoft.com/dotnet/csharp-15-union-types/

by 0x00C0FFEE

4/5/2026 at 2:28:33 PM

I haven't read this in detail but I expect it to be the same kind of sealed type that many other languages have. It doesn't cover ad-hoc unions (on the fly from existing types) that are possible in F# (and not many non-FP languages with TypeScript being the most notable that does).

by karmakaze