Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching
-
Updated
Aug 7, 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
C# discriminated union source generator
Java 8 annotation processor and framework for deriving algebraic data types constructors, pattern-matching, folds, optics and typeclasses.
Discriminated unions, pattern matching and partial applications for C#
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
Variant types in TypeScript
F# Event-Union Contract Encoding with versioning tolerant converters supporting System.Text.Json and Newtonsoft.Json
C# Analyzer Adding Exhaustive Checking of Switch Statements and Expressions
A type-safe and space-efficient sum type for C# (comparable to discriminated unions in C or C++)
Helper function for exhaustive checks of discriminated unions in TypeScript
Tagged unions for Elixir. Just that.
A simple, serializable sum-type format
Discriminated Unions including Maybe (an option type) and Result for javascript with fewer bugs
🏷️ Tagged unions for vanilla JavaScript!
A stinky but tasty hack to emulate F#-like discriminated unions in C#
Helps to easily JSON marshal / unmarshal tagged unions in go
Utility function for exhaustiveness checking with typed JS (TS or Flow)
Pattern matching and tagged unions in JavaScript without new syntax.
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."