Functional.Maybe 1.1.1

Functional.Maybe — Option type for C# with LINQ support and rich fluent syntax for many popular uses

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

var maybeOne = "one".ToMaybe();
var maybeAnother = Maybe<string>.Nothing;

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")
);

There is a newer version of this package available.
See the version list below for details.
Install-Package Functional.Maybe -Version 1.1.1
dotnet add package Functional.Maybe --version 1.1.1
paket add Functional.Maybe --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added SelectMaybe alias for SelectMany.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
2.0.10 160 1/31/2019
2.0.9 235 12/24/2018
2.0.8 48 12/24/2018
2.0.7 88 12/19/2018
2.0.6 61 12/19/2018
2.0.5 67 12/19/2018
2.0.4 51 12/19/2018
1.1.1 31,585 11/8/2016
1.1.0 3,854 9/25/2016
1.0.8 2,029 3/10/2016
1.0.7 4,335 11/22/2015
1.0.6 640 11/10/2015
1.0.5 384 11/2/2015
1.0.4 506 10/1/2015
1.0.3 2,833 9/3/2014
1.0.2 566 2/18/2014
1.0.1 292 2/17/2014
1.0.0 451 10/29/2013
Show less