Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching
-
Updated
May 16, 2024 - C#
Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching
C++17 `std::variant` for C++11/14/17
Java 8 annotation processor and framework for deriving algebraic data types constructors, pattern-matching, folds, optics and typeclasses.
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
F# Event-Union Contract Encoding with versioning tolerant converters supporting System.Text.Json and Newtonsoft.Json
C# discriminated union source generator
Discriminated unions, pattern matching and partial applications for C#
C# Analyzer Adding Exhaustive Checking of Switch Statements and Expressions
Helper function for exhaustive checks of discriminated unions in TypeScript
A simple, serializable sum-type format
A type-safe and space-efficient sum type for C# (comparable to discriminated unions in C or C++)
Variant types in TypeScript
An incremental source generator that creates typed extension methods for OneOf<> types for more readable and robust code.
Pattern matching and tagged unions in JavaScript without new syntax.
minimal utilities to work with union types and tagged unions (a.k.a. discriminated unions) in TypeScript
A library that provides functionality to define a Discriminated Union in C# via Source Generators.
Concept for Result and Option types in C#/.NET
🏷️ Tagged unions for vanilla JavaScript!
Add a description, image, and links to the discriminated-unions topic page so that developers can more easily learn about it.
To associate your repository with the discriminated-unions topic, visit your repo's landing page and select "manage topics."