dotvariant
Variant library
A type-safe sum type library for C# that enables the creation of compact variants with compile-time checked constraints and generated interfaces.
A type-safe and space-efficient sum type for C# (comparable to discriminated unions in C or C++)
70 stars
6 watching
3 forks
Language: C#
last commit: 3 months ago
Linked from 1 awesome list
algebraic-data-typescsharpcsharp-sourcegeneratordiscriminated-unionsfunctionalsum-typesunionvariant
Related projects:
Repository | Description | Stars |
---|---|---|
mpark/variant | An implementation of C++17 std::variant for C++11/14/17 | 669 |
devteam/immutype | Generates extension methods for immutable data types in .NET. | 41 |
martinothamar/wrappervalueobject | Generates simple value objects in C# to wrap primitive types and provide automatic equality comparison and formatting | 53 |
kumokyaku/kcp | A C# implementation of the KCP (KCP) networking protocol. | 838 |
robertknight/qt-maybe | A set of templates implementing sum and option types using QVariant. | 29 |
novotnyllc/bc-csharp | A C# implementation of cryptographic algorithms and protocols | 176 |
blackmatov/flat.hpp | A library of associative containers with vector-like behavior | 75 |
ne4to/n.sourcegenerators.uniontypes | A C# source generator that automates the creation of discriminated union types with helper methods. | 10 |
domn1995/dunet | A source generator that creates discriminated union types in C# with support for generics and implicit conversions. | 633 |
pahowes/any | A C++ variant type that allows storing and retrieving different types of data | 11 |
mrdimosthenis/synapsescsharp | A C# library for building and training neural networks | 1 |
marpple/fxts | A functional programming library providing utilities for working with data and concurrency in TypeScript/JavaScript. | 936 |
nemesissoft/nemesis.textparsers | An efficient string parser for various data types | 33 |
p-p-h-d/mlib | A C library providing generic and type-safe container implementations | 904 |
dotnet/csharpstandard | The C# language standard repository contains all official versions of the C# specification, including draft versions and past standards. | 723 |