Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bfren/maybe

Maybe monad for C# - to handle null values and exceptions better - including Linq support, chaining, and asynchronous programming.
https://github.com/bfren/maybe

csharp maybe-monad monad

Last synced: 3 days ago
JSON representation

Maybe monad for C# - to handle null values and exceptions better - including Linq support, chaining, and asynchronous programming.

Awesome Lists containing this project

README

        

# Maybe Monad (C#)

![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/bfren/maybe?include_prereleases&label=Release) [![Nuget](https://img.shields.io/nuget/dt/MaybeF?label=Downloads)](https://www.nuget.org/packages/maybef/) [![GitHub](https://img.shields.io/github/license/bfren/maybe?label=Licence)](https://mit.bfren.dev/2019)
[![Test](https://github.com/bfren/maybe/actions/workflows/test.yml/badge.svg)](https://github.com/bfren/maybe/actions/workflows/test.yml) [![Publish](https://github.com/bfren/maybe/actions/workflows/publish.yml/badge.svg)](https://github.com/bfren/maybe/actions/workflows/publish.yml)

Maybe monad (see [here](https://en.wikipedia.org/wiki/Monad_(functional_programming)#An_example:_Maybe)) for C# - to handle null values and exceptions better - including Linq support, chaining, and asynchronous programming.

View the [Wiki](https://github.com/bfren/maybe/wiki) for documentation.

## Licence

> [MIT](https://mit.bfren.dev/2019)

## Copyright

> Copyright (c) 2019-2023 [bfren](https://bfren.dev) (unless otherwise stated)