Portable library for easy to use F#-like Discriminated Unions in C#. Implicitly casts objects into OneOf instances, then use .Match extension to do pattern matching.  Designed as a partial drop in replacement for OneOf.

Install-Package DiscU -Version
dotnet add package DiscU --version
<PackageReference Include="DiscU" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DiscU --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This package has no dependencies.

Version History

Version Downloads Last updated 509 2/16/2018 245 2/13/2018
0.0.29 457 1/20/2017
0.0.16 320 11/7/2016
0.0.13 313 10/17/2016