Rolled my own Result<T,E> type that seems to work better than others.

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
  • OneOf

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

  • Then I found discussion of the OneOf package, and then found some simpler Result code. I tried using that code but I found the use of Match and lambdas meant I couldn't simply break out of the loop in my example.

  • dunet

    C# discriminated union source generator

  • BUT It is possible to implement it in a pretty good way. The main issue with the majority of existing libraries is that they're not able to guarantee that Error variant matching is exhaustive. Thus I'd recommend the usage of code generators libraries (https://github.com/domn1995/dunet looks like a good choice to start with) to build Result and Error(s) unions in a proper way

  • 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
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

  • The Monad Invasion - Part 1: What's a Monad?

    4 projects | dev.to | 27 Feb 2024
  • Discriminated Unions: Essa feature faz falta no CSharp

    2 projects | dev.to | 5 Feb 2024
  • What's new in C# 12: overview

    4 projects | news.ycombinator.com | 20 Oct 2023
  • Have you heard of AnyOf .NET Lib?

    3 projects | /r/dotnet | 18 Mar 2023
  • How do you live without tagged union types?

    7 projects | /r/csharp | 1 Mar 2023