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

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
1.1.1 (current version) 10,857 11/8/2016
1.1.0 2,101 9/25/2016
1.0.8 1,707 3/10/2016
1.0.7 2,614 11/22/2015
1.0.6 514 11/10/2015
1.0.5 263 11/2/2015
1.0.4 376 10/1/2015
1.0.3 2,180 9/3/2014
1.0.2 447 2/18/2014
1.0.1 183 2/17/2014
1.0.0 298 10/29/2013