An open API service indexing awesome lists of open source software.

https://github.com/nekronos/resultsharp

Result type for C#
https://github.com/nekronos/resultsharp

c-sharp error-handling functional-programming result-type

Last synced: 7 days ago
JSON representation

Result type for C#

Awesome Lists containing this project

README

        

# ResultSharp

[![Build and Test](https://github.com/nekronos/ResultSharp/workflows/Build%20and%20Test/badge.svg)](https://github.com/nekronos/ResultSharp/actions)
[![NuGet](https://img.shields.io/nuget/v/ResultSharp.svg?color=mediumturquoise&logo=NuGet)](https://www.nuget.org/packages/ResultSharp/)

This library provides an implmentation of a Result monad. With its API inspired by [Rust's Result type](https://doc.rust-lang.org/std/result/enum.Result.html)
## Usage

```c#
using ResultSharp;
using static ResultSharp.Prelude;
```