Galad/CSharpDiscriminatedUnion

A library for generating discriminated union types in C#

26
/ 100
Experimental

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.

C# development software architecture type safety code generation functional programming
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 6 / 25
Maturity 16 / 25
Community 4 / 25

How are scores calculated?

Stars

23

Forks

1

Language

C#

License

MIT

Category

code-generation

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.