Galad/CSharpDiscriminatedUnion
A library for generating discriminated union types in C#
This is a C# development tool that helps C# developers define 'discriminated unions' — a data structure that can hold values of different types, but only one at a time. It takes your basic definition of these types and automatically generates the necessary C# code to create, compare, and work with these structures. This is for C# developers who want to write more robust and expressive code.
No commits in the last 6 months.
Use this if you are a C# developer building an application where you need a single variable to represent one of a fixed set of possibilities, ensuring type safety and comprehensive handling of all cases.
Not ideal if you are not a C# developer or if your project doesn't require complex type management with mutually exclusive data representations.
Stars
23
Forks
1
Language
C#
License
MIT
Category
Last pushed
Apr 14, 2020
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/Galad/CSharpDiscriminatedUnion"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
Dav1dde/glad
Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
Aleph-Alpha/ts-rs
Generate TypeScript bindings from Rust types
apollographql/apollo-tooling
✏️ Apollo CLI for client tooling (Mostly replaced by Rover)
mmcloughlin/avo
Generate x86 Assembly with Go
krzysztofzablocki/Sourcery
Meta-programming for Swift, stop writing boilerplate code.