Unfragile

Verified record · from the answer index

OneOf - Easy Discriminated Unions for c#

librarytested · static-verifiedscore 43/100signed passport ✓

F# style discriminated unions for C#, using a custom type OneOf<T0, ... Tn> which holds a single value and has a .Match(...) method on it for exhaustive matching. Simple but powerful.

Declared tools (6)

discriminatedunionsreturntypematchswitch

lib:nuget:oneof · published by mcintyre321 · source repository