discriminated-unions
There are 47 repositories under discriminated-unions topic.
mcintyre321/OneOf
Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching
mpark/variant
C++17 `std::variant` for C++11/14/17
derive4j/derive4j
Java 8 annotation processor and framework for deriving algebraic data types constructors, pattern-matching, folds, optics and typeclasses.
domn1995/dunet
C# discriminated union source generator
DavidArno/SuccincT
Discriminated unions, pattern matching and partial applications for C#
rsdn/CodeJam
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
paarthenon/variant
Variant types in TypeScript
eggs-cpp/variant
Eggs.Variant is a C++11/14/17 generic, type-safe, discriminated union.
jet/FsCodec
F# Event-Union Contract Encoding with versioning tolerant converters supporting System.Text.Json and Newtonsoft.Json
WalkerCodeRanger/ExhaustiveMatching
C# Analyzer Adding Exhaustive Checking of Switch Statements and Expressions
mknejp/dotvariant
A type-safe and space-efficient sum type for C# (comparable to discriminated unions in C or C++)
aikoven/assert-never
Helper function for exhaustive checks of discriminated unions in TypeScript
JAForbes/sum-type
A simple, serializable sum-type format
alexocode/ex_union
Tagged unions for Elixir. Just that.
uniphil/results
Discriminated Unions including Maybe (an option type) and Result for javascript with fewer bugs
quadrupleslap/union-js
🏷️ Tagged unions for vanilla JavaScript!
salvois/DiscriminatedOnions
A stinky but tasty hack to emulate F#-like discriminated unions in C#
Gozala/unreachable
Utility function for exhaustiveness checking with typed JS (TS or Flow)
1Computer1/headpats
Pattern matching and tagged unions in JavaScript without new syntax.
byrnedo/pjson
Helps to easily JSON marshal / unmarshal tagged unions in go
naruaway/ts-union-tools
minimal utilities to work with union types and tagged unions (a.k.a. discriminated unions) in TypeScript
biegehydra/OneOf.TypeExtensions
An incremental source generator that creates typed extension methods for OneOf<> types for more readable and robust code.
marinasundstrom/OptionAndResultConcept
Concept for Result and Option types in C#/.NET
poudeldinesh/Multivariate-Analysis-World-Happiness-Report
Unsupervised Learning
Hirrolot/poica
A research programming language on top of C macros
Patrickkk/FunctionalSharp
Provides some functional mechanisms in C#
hexarc-software/hexarc-serialization
Advanced converters for the System.Text.Json serializer
pfpack/pfpack-core-taggeds
PrimeFuncPack Core.Taggeds is a core pack for .NET consisting of fundamental tagged types targeted for use in functional programming: Optional and Result monads, Tagged Union, as well as the convert extensions.
vincentbel/ts-network
A TypeScript datatype representing network state which takes advantage of discriminated unions
dartk/csharp-discriminated-unions
A discriminated union source generator for C#
ndrwrbgs/OneOf.Linq
Extensions for https://github.com/mcintyre321/OneOf that expose XOrResonWhyNot extension methods for LINQ
ootidea/ts-tagged-union
A library for defining and manipulating algebraic data types in TypeScript.
ziaulhasanhamim/BetterErrors
A very simple discriminated union of success or error
eduardomosko/taggo
A dead simple library for parsing discriminated unions in Go.
ronimizy/DiscriminatedUnion.CS
A library that provides functionality to define a Discriminated Union in C# via Source Generators.
Simply-Cods/OneOfUnity
Easy to use F#-like ~discriminated~ unions for Unity with exhaustive compile time matching