How do you live without tagged union types?

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • csharplang

    The official repo for the design of the C# programming language

  • The unions in C# are proposed, but I don't think they are likely to be implemented anytime soon.

  • OneOf

    Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ClosedTypeHierarchyDiagnosticSuppressor

    Suppresses exhaustiveness warnings for switching (switch statement or expression) on closed type hierarchies

  • If you are using visual studio you can try https://github.com/shuebner/ClosedTypeHierarchyDiagnosticSuppressor and write abstract record

  • dunet

    C# discriminated union source generator

  • Or use something like dunet https://github.com/domn1995/dunet

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Discriminated Unions: Essa feature faz falta no CSharp

    2 projects | dev.to | 5 Feb 2024
  • Have you heard of AnyOf .NET Lib?

    3 projects | /r/dotnet | 18 Mar 2023
  • The functional journey of C# - Mads Torgersen - NDC Copenhagen 2022

    3 projects | /r/csharp | 22 Aug 2022
  • How likely are we to see discriminated unions in C# 11?

    2 projects | /r/csharp | 4 Sep 2021
  • Rolled my own Result<T,E> type that seems to work better than others.

    2 projects | /r/csharp | 1 Nov 2023