Remix.run Logo
▲ aryonoco an hour ago

C# finally has Sum types.

Not quite discriminated unions, but close. With an exhaustive checker with switch statements.

Now if only it made creating unique types easy, so I wouldn’t have to use a library like VOgen, the language would be nearly as good as F#