Skip To Content
Toggle navigation
Packages
Upload
Statistics
Documentation
Downloads
Blog
Sign in
Frameworks
.NET
net7.0
net6.0
net5.0
.NET Core
netcoreapp3.1
netcoreapp3.0
netcoreapp2.2
netcoreapp2.1
netcoreapp2.0
netcoreapp1.1
netcoreapp1.0
.NET Standard
netstandard2.1
netstandard2.0
netstandard1.6
netstandard1.5
netstandard1.4
netstandard1.3
netstandard1.2
netstandard1.1
netstandard1.0
.NET Framework
net481
net48
net472
net471
net47
net462
net461
net46
net452
net451
net45
net40
net35
net30
net20
Package type
All types
Dependency
.NET tool
Template
Options
Include prerelease
36 packages returned for Tags:"discriminated"
Sort by
Relevance
Downloads
Recently updated
OneOf
by:
mcintyre321
9,952,398 total downloads
last updated
3/14/2023
Latest version:
3.0.243
discriminated
unions
return
type
match
switch
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.
Microsoft.
FSharpLu.
Json
by:
FSharpLu
Microsoft
420,017 total downloads
last updated
6/24/2021
Latest version:
0.11.7
F#
FSharp
Utilities
Json
discriminated
unions
Json serialization converters for F# option types and discriminated unions.
ExhaustiveMatching.
Analyzer
by:
WalkerCodeRanger
229,327 total downloads
last updated
5/26/2020
Latest version:
0.5.0
analyzers
switch
exhaustive
match
discriminated
union
sum-type
ExhaustiveMatching.Analyzer adds exhaustive matching to C# switch statements and expressions. Get compiler errors for missing cases in a switch statement or expression. Mark which switches should have...
More information
OneOf.
FSharp
by:
mcintyre321
236,243 total downloads
last updated
3/14/2023
Latest version:
3.0.243
discriminated
unions
return
type
match
switch
This is an FSharp library for interop with the C# OneOf Types
OneOf.
Extended
by:
mcintyre321
216,889 total downloads
last updated
3/14/2023
Latest version:
3.0.243
discriminated
unions
return
type
match
switch
This package extends the OneOf types from OneOf<T0, .., T9> to OneOf<T0, .., T32> for when you really have a lot of options
OneOf.
SourceGenerator
by:
mcintyre321
201,985 total downloads
last updated
3/14/2023
Latest version:
3.0.243
discriminated
unions
return
type
match
switch
generator
source
generator
This source generator automaticly implements OneOfBase hierarchies
SuccincT
by:
DavidArno
105,989 total downloads
last updated
2/17/2020
Latest version:
4.0.0
Partial
application
Discriminated
unions
Options
Maybe
Pattern
matching
cons
functional
Succinc<T> is a .NET library that adds a number of functional features to C#: * Discriminated unions, * Pattern matching, * Partial applications, * "Implicitly" typed lambdas, * The ability to treat void...
More information
FunctionalSharp.
DiscriminatedUnions
by:
patrickkk
25,434 total downloads
last updated
2/4/2018
Latest version:
0.9.106
Unions
Discriminated
Discriminated
Linq
lambda
Functional
This package provides Discriminated Unions for C#. This is the old backage. The new package is FunctionalSharp.DiscriminatedUnions.
Dunet
by:
domn1995
36,466 total downloads
last updated
5/16/2023
Latest version:
1.8.0
source
generator
discriminated
union
functional
tagged
A simple source generator for discriminated unions in C#.
CodeJam
by:
andrewvk
246,176 total downloads
last updated
5/12/2022
Latest version:
4.1.0
list
string
collection
data-structure
threading
xml
reflection
async
assertion
IO
More tags
CodeJam is a set of handy reusable .NET components that can simplify your daily work and save your time when you copy and paste your favorite helper methods and classes from one project to another.
ImTools
by:
dadhi
122,071 total downloads
last updated
7/25/2022
Latest version:
4.0.0
FP
Performance
Simple
Functional
Immutable
Persistent
Map
Avl
2-3Tree
Self
More tags
Immutable persistent collections, algebraic sum-type aka descriminated union, Ref type and supportive extensions for performant functional programming in C#. Split from the DryIoc:...
More information
DiscriminatedUnion
by:
sdedalus
4,283 total downloads
last updated
8/4/2017
Latest version:
1.0.0.45
Discriminated
Union
Implementation of Discriminated Union and Pattern Matching in C#. string outputValue = x.Match<String>() .Case(c => c == "Test", v => "It's Test!") .Case(v => "It's Not Test!") .Else(()...
More information
Hexarc.
Serialization.
Union
by:
shadeglare
11,386 total downloads
last updated
4/23/2023
Latest version:
3.0.1
Tagged
Union
Discriminated
Serialization
Json
This package helps to serialize .NET/C# classes hierarchy as a tagged union (also known as a discriminated union).
DiscU
by:
jamesbascle
18,561 total downloads
last updated
2/16/2018
Latest version:
1.0.0.9
Discriminated
Union
Unions
Pattern
Matching
OneOf
Tagged
Sum
Type
Types
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...
More information
Unknown6656.
IndexableProperties
by:
unknown6656
3,528 total downloads
last updated
3/13/2022
Latest version:
1.1.0
unknown6656
discriminated
unions
Package Description
discriminated
by:
AndreiStreltsov
7,587 total downloads
last updated
3/1/2017
Latest version:
0.3.2
discriminated
union
functional
data-structure
c#
pattern-matching
An implementation of a discriminated union data structure with pattern matching support.
CSharpDiscriminatedUnion
by:
Galad
9,764 total downloads
last updated
4/14/2020
Latest version:
2.0.1
Discriminated
union
tagged
sum
type
algebraic
data
functional
F#
Package Description
ImTools.
dll
by:
dadhi
42,007 total downloads
last updated
7/25/2022
Latest version:
4.0.0
FP
Performance
Simple
Functional
Immutable
Persistent
Map
Avl
2-3Tree
Self
More tags
Immutable persistent collections, algebraic sum-type aka descriminated union, Ref type and supportive extensions for performant functional programming in C#. Split from the DryIoc:...
More information
SvSoft.
Analyzers.
ClosedTypeHierarchyDiagnosticSuppression
by:
shuebner
1,806 total downloads
last updated
1/31/2023
Latest version:
1.1.1
discriminated
unions
match
switch
Suppresses exhaustiveness warnings of switch statement and switch expressions when all cases of a "closed type hierarchy" are covered. See project URL for details. It suppresses IDE0010, IDE0072 and CS8509. It...
More information
Option.
Either
by:
Mroberts91
919 total downloads
last updated
2/1/2021
Latest version:
1.0.0
Discriminated
Union
Discriminated
Union
Return
A simple library that adds a struct to be used as a discriminated union like return type.
Previous
Next