9 packages tagged with “DiscriminatedUnion”
A collection of high performance language extensions for C#
Errorka allows to handle errors in safe manner
Discriminated union types (Any<T0,T1> to Any<T0,...,T7>) for functional programming in C#. Provides type-safe alternatives to object/dynamic with pattern matching, implicit conversions, and JSON serialization support. Essential for functional programming patterns and type-safe handling of multiple possible types.
A source generator for creating discriminated unions by decorating with a [DUnion] attribute
Some common discriminated union types, implemented by the DUnion source generator
Library of functional utilities to use in C# with notably rich and easy-to-use adhoc unions
A default implementation of the attributes used by DUnion
A simple, fluent discriminated union of an error or a result. Supports .NET Standard 2.0, .NET 8, .NET 9, and .NET 10 with full AOT and trimming compatibility.
Library of analyzers and code fixes to use with FuncNet