Functional.Maybe 1.1.0

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.0
dotnet add package Functional.Maybe --version 1.1.0
<PackageReference Include="Functional.Maybe" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Functional.Maybe --version 1.1.0
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.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.18 5,005 6/10/2019
2.0.17 103 6/10/2019
2.0.10 1,521 1/31/2019
2.0.9 1,279 12/24/2018
2.0.8 164 12/24/2018
2.0.7 175 12/19/2018
2.0.6 142 12/19/2018
2.0.5 150 12/19/2018
2.0.4 156 12/19/2018
1.1.1 44,303 11/8/2016
1.1.0 5,037 9/25/2016
1.0.8 2,319 3/10/2016
1.0.7 5,839 11/22/2015
1.0.6 858 11/10/2015
1.0.5 595 11/2/2015
1.0.4 720 10/1/2015
1.0.3 3,554 9/3/2014
1.0.2 686 2/18/2014
1.0.1 417 2/17/2014
1.0.0 593 10/29/2013
Show less