Functional.Maybe 1.0.7

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.0.7
dotnet add package Functional.Maybe --version 1.0.7
<PackageReference Include="Functional.Maybe" Version="1.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Functional.Maybe --version 1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

An error fixed: it was possible in some case to get a Maybe with HasValue == true and Value == null. Now it is not.

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 2,420 6/10/2019
2.0.17 93 6/10/2019
2.0.10 1,247 1/31/2019
2.0.9 1,171 12/24/2018
2.0.8 159 12/24/2018
2.0.7 168 12/19/2018
2.0.6 135 12/19/2018
2.0.5 145 12/19/2018
2.0.4 151 12/19/2018
1.1.1 42,283 11/8/2016
1.1.0 4,841 9/25/2016
1.0.8 2,252 3/10/2016
1.0.7 5,531 11/22/2015
1.0.6 801 11/10/2015
1.0.5 537 11/2/2015
1.0.4 660 10/1/2015
1.0.3 3,434 9/3/2014
1.0.2 672 2/18/2014
1.0.1 403 2/17/2014
1.0.0 572 10/29/2013
Show less