OneOf
DUs
A library providing F# style discriminated unions for C#
Easy to use F#-like discriminated unions for C# with exhaustive compile time matching
4k stars
49 watching
165 forks
Language: C#
last commit: 4 months ago
Linked from 1 awesome list
c-sharpdiscriminated-unionsdotnetcoref-sharp
Related projects:
Repository | Description | Stars |
---|---|---|
louthy/language-ext | A C# library that enables declarative and pure functional programming by providing extensions to the language. | 6,533 |
polyadic/funcky-discriminated-union | A source generator that automates the creation of Match methods for discriminated unions in C# | 6 |
benaadams/ben.demystifier | Improves error logging by rendering modern C# 7.0+ features in stack traces as source code | 2,761 |
vkhorikov/csharpfunctionalextensions | A library providing functional programming utilities and patterns for working with data in C#. | 2,447 |
dotnetanalyzers/stylecopanalyzers | Enforces coding standards and best practices in .NET projects using StyleCop rules | 2,656 |
messagepack-csharp/messagepack-csharp | Fastest C# serializer with built-in LZ4 compression and support for Unity and Xamarin. | 5,795 |
gvergnaud/ts-pattern | A library that enables expressive and safe code branching with type inference for complex conditions | 12,472 |
tweag/nickel | A lightweight, configuration language designed to automate the generation of static config files for various systems and applications. | 2,421 |
domn1995/dunet | A source generator that creates discriminated union types in C# with support for generics and implicit conversions. | 640 |
cysharp/memorypack | A high-performance binary serializer designed to optimize serialization of .NET objects | 3,352 |
fluentvalidation/fluentvalidation | A .NET validation library that uses a fluent interface and lambda expressions to build strongly-typed validation rules. | 9,111 |
antitypical/result | Provides a robust and composable way to handle success/failure in Swift operations | 2,509 |
microsoft/typechat | Simplifies building natural language interfaces by defining types and using schema engineering to validate and process LLM responses | 8,241 |
millsp/ts-toolbelt | A comprehensive TypeScript library providing a wide range of type utilities to improve type safety and simplify complex type operations | 6,752 |
jet/fscodec | Provides a minimal interface for serialization and deserialization of events in event-sourcing systems | 82 |