Skip To Content
Toggle navigation
Packages
Upload
Statistics
Documentation
Downloads
Blog
Sign in
Advanced search filters
Frameworks
.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
47 packages returned for Tags:"discriminated"
Sort by
Relevance
Downloads
Recently updated
OneOf
by:
mcintyre321
14,401,911 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
490,365 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
476,483 total downloads
last updated
9/7/2023
Latest version:
3.0.263
discriminated
unions
return
type
match
switch
generator
source
This source generator automaticly implements OneOfBase hierarchies
ExhaustiveMatching.
Analyzer
by:
WalkerCodeRanger
280,691 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.
Extended
by:
mcintyre321
283,254 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
OneOf.
FSharp
by:
mcintyre321
244,394 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
68,048 total downloads
last updated
11/2/2023
Latest version:
1.10.0
source
generator
discriminated
union
functional
tagged
A simple source generator for discriminated unions in C#.
SuccincT
by:
DavidArno
121,314 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
ImTools
by:
dadhi
295,709 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
FunctionalSharp.
DiscriminatedUnions
by:
patrickkk
26,939 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
284,987 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.
Hexarc.
Serialization.
Union
by:
shadeglare
16,664 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).
DiscriminatedUnion
by:
sdedalus
4,735 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
DiscU
by:
jamesbascle
19,214 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,913 total downloads
last updated
3/13/2022
Latest version:
1.1.0
unknown6656
discriminated
unions
Package Description
discriminated
by:
AndreiStreltsov
7,968 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.
ImTools.
dll
by:
dadhi
62,985 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
Funcky.
DiscriminatedUnion
by:
polyadic
4,794 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. ✨
SvSoft.
Analyzers.
ClosedTypeHierarchyDiagnosticSuppression
by:
shuebner
2,428 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
CSharpDiscriminatedUnion
by:
Galad
10,323 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