DEV Community

Roxeem
Roxeem

Posted on • Originally published at Medium on

The Union Revolution in C#: Closed Hierarchies, Case Declarations, and Safer APIs

The Union Revolution in C#: Closed Hierarchies, Case Declarations, and Safer APIs

If you’ve ever wished your C# code could precisely model “one of these types, but never anything else”, discriminated unions are about to…

Continue reading on Medium »

Top comments (0)