NuGet Package Functional.Maybe

Option types for C# with LINQ support and rich fluent syntax for many popular uses:

var maybeOne = "one".ToMaybe();
Maybe maybeAnother;

var maybeBoth =
from one in maybeOne
from another in maybeAnother
select one + another;

maybeBoth.Match(
both => Console.WriteLine("Result is: {0}", both),
@else: () => Console.WriteLine("Result is Nothing, as one of the inputs was Nothing")
);.

Info

Version: 2.0.18
Author(s): Andrey Tsvetkov, William Cassarin
Last Update: Monday, June 10, 2019
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/AndreyTsvetkov/Functional.Maybe
NuGet Url: https://www.nuget.org/packages/Functional.Maybe


Install
Install-Package Functional.Maybe
dotnet add package Functional.Maybe
paket add Functional.Maybe
Functional.Maybe Download (Unzip the "nupkg" after downloading)

7 packages depend on this package.


Tags



STATS

must-have-score

6.8

avg-downloads-per-day

34

days-since-last-release

155