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.

There is a newer version of this package available.
See the version list below for details.
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.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 513 2/16/2018 248 2/13/2018
0.0.29 457 1/20/2017
0.0.16 323 11/7/2016
0.0.13 318 10/17/2016