Skip To Content
Toggle navigation
Packages
Upload
Statistics
Documentation
Downloads
Blog
Sign in
Advanced search filters
Frameworks
Include compatible frameworks
Framework Filter Mode
ALL
ANY
.NET
net8.0
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
51 packages returned for Tags:"Discriminated"
Sort by
Relevance
Downloads
Recently updated
OneOf
by:
mcintyre321
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 3.5
19,072,220 total downloads
last updated
9/7/2023
Latest version:
3.0.263
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
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
551,509 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.
OneOf.
SourceGenerator
by:
mcintyre321
773,757 total downloads
last updated
9/7/2023
Latest version:
3.0.263
discriminated
unions
return
type
match
switch
generator
source
generator
This source generator automaticly implements OneOfBase hierarchies
OneOf.
Extended
by:
mcintyre321
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 3.5
391,688 total downloads
last updated
9/7/2023
Latest version:
3.0.263
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
ExhaustiveMatching.
Analyzer
by:
WalkerCodeRanger
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
332,316 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
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
252,963 total downloads
last updated
9/7/2023
Latest version:
3.0.263
discriminated
unions
return
type
match
switch
This is an FSharp library for interop with the C# OneOf Types
Dunet
by:
domn1995
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
124,520 total downloads
last updated
1/29/2024
Latest version:
1.11.2
source
generator
discriminated
union
functional
tagged
A simple source generator for discriminated unions in C#.
ImTools
by:
dadhi
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.5
444,930 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
SuccincT
by:
DavidArno
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
131,779 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
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
28,942 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.
CodeJam
by:
andrewvk
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 3.5
314,908 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.
SvSoft.
Analyzers.
ClosedTypeHierarchyDiagnosticSuppression
by:
shuebner
13,441 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
Hexarc.
Serialization.
Union
by:
shadeglare
.NET 7.0
21,012 total downloads
last updated
4/23/2023
Latest version:
3.0.1
Tagged
Union
Discriminated
Union
Serialization
Json
This package helps to serialize .NET/C# classes hierarchy as a tagged union (also known as a discriminated union).
DiscriminatedUnion
by:
sdedalus
.NET Framework 4.5
4,991 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
Funcky.
DiscriminatedUnion
by:
polyadic
8,434 total downloads
last updated
11/22/2022
Latest version:
1.1.0
Funcky
Discriminated
Tagged
Union
Algebraic
A source generator that generates `Match` methods for all your discriminated unions needs. ✨
DiscU
by:
jamesbascle
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 4.6
19,701 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
ImTools.
dll
by:
dadhi
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.5
72,103 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
Unknown6656.
IndexableProperties
by:
unknown6656
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
4,374 total downloads
last updated
3/13/2022
Latest version:
1.1.0
unknown6656
discriminated
unions
Package Description
discriminated
by:
AndreiStreltsov
.NET Framework 3.5
8,113 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
11,796 total downloads
last updated
4/14/2020
Latest version:
2.0.1
Discriminated
union
tagged
sum
type
algebraic
data
functional
F#
Package Description
Previous
Next