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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 1,841 2/16/2018 413 2/13/2018
0.0.29 687 1/20/2017
0.0.16 658 11/7/2016
0.0.13 630 10/17/2016