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) 18,448 11/8/2016
1.1.0 2,284 9/25/2016
1.0.8 1,842 3/10/2016
1.0.7 3,012 11/22/2015
1.0.6 543 11/10/2015
1.0.5 289 11/2/2015
1.0.4 408 10/1/2015
1.0.3 2,372 9/3/2014
1.0.2 483 2/18/2014
1.0.1 215 2/17/2014
1.0.0 334 10/29/2013