#

discriminated-unions

https://static.github-zh.com/github_avatars/mcintyre321?size=40

Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching

C# 3.89 k
1 年前
https://static.github-zh.com/github_avatars/mpark?size=40
C++ 699
3 年前
https://static.github-zh.com/github_avatars/derive4j?size=40

Java 8 annotation processor and framework for deriving algebraic data types constructors, pattern-matching, folds, optics and typeclasses.

Java 577
3 年前
https://static.github-zh.com/github_avatars/DavidArno?size=40

Discriminated unions, pattern matching and partial applications for C#

C# 268
3 年前
https://static.github-zh.com/github_avatars/rsdn?size=40

#算法刷题#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

C# 262
2 年前
https://static.github-zh.com/github_avatars/eggs-cpp?size=40

Eggs.Variant is a C++11/14/17 generic, type-safe, discriminated union.

C++ 141
4 年前
https://static.github-zh.com/github_avatars/jet?size=40

F# Event-Union Contract Encoding with versioning tolerant converters supporting System.Text.Json and Newtonsoft.Json

F# 82
3 个月前
https://static.github-zh.com/github_avatars/WalkerCodeRanger?size=40

C# Analyzer Adding Exhaustive Checking of Switch Statements and Expressions

C# 82
2 年前
https://static.github-zh.com/github_avatars/mknejp?size=40

A type-safe and space-efficient sum type for C# (comparable to discriminated unions in C or C++)

C# 73
1 年前
https://static.github-zh.com/github_avatars/PawelGerr?size=40

Provides an easy way to implement Smart Enums, Value Objects and Discriminated Unions in .NET

C# 70
11 天前
https://static.github-zh.com/github_avatars/pimbrouwers?size=40

Option and Result types for C# to simplify functional programming.

C# 49
1 个月前
https://static.github-zh.com/github_avatars/aikoven?size=40

Helper function for exhaustive checks of discriminated unions in TypeScript

TypeScript 46
9 个月前
https://static.github-zh.com/github_avatars/alexocode?size=40
Elixir 43
1 年前
https://static.github-zh.com/github_avatars/JAForbes?size=40

A simple, serializable sum-type format

JavaScript 41
2 年前
https://static.github-zh.com/github_avatars/uniphil?size=40

Discriminated Unions including Maybe (an option type) and Result for javascript with fewer bugs

JavaScript 32
5 年前
https://static.github-zh.com/github_avatars/quadrupleslap?size=40
JavaScript 28
8 年前
https://static.github-zh.com/github_avatars/salvois?size=40

A stinky but tasty hack to emulate F#-like discriminated unions in C#

C# 22
8 个月前
loading...
Website
Wikipedia