Functional.Maybe
1.1.0
See the version list below for details.
dotnet add package Functional.Maybe --version 1.1.0
NuGet\Install-Package Functional.Maybe -Version 1.1.0
<PackageReference Include="Functional.Maybe" Version="1.1.0" />
<PackageVersion Include="Functional.Maybe" Version="1.1.0" />
<PackageReference Include="Functional.Maybe" />
paket add Functional.Maybe --version 1.1.0
#r "nuget: Functional.Maybe, 1.1.0"
#:package Functional.Maybe@1.1.0
#addin nuget:?package=Functional.Maybe&version=1.1.0
#tool nuget:?package=Functional.Maybe&version=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")
);
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Functional.Maybe:
| Package | Downloads |
|---|---|
|
Functional.Maybe.Just
An extension with Just() method for Functional.Maybe |
|
|
AutoFixture.Community.AutoEF.Core
Package Description |
|
|
NScan.Adapter.ReadingCSharpSolution
Package Description |
|
|
Functional.Maybe.JsonConverter
A JSON.Net converter that allows serialization and deserialization of instances of Functional.Maybe |
|
|
NScan.Domain
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.20 | 1,345,332 | 3/29/2020 |
| 2.0.18 | 84,817 | 6/10/2019 |
| 2.0.17 | 1,308 | 6/10/2019 |
| 2.0.10 | 77,607 | 1/31/2019 |
| 2.0.9 | 3,807 | 12/24/2018 |
| 2.0.8 | 1,428 | 12/24/2018 |
| 2.0.7 | 1,950 | 12/19/2018 |
| 2.0.6 | 1,394 | 12/19/2018 |
| 2.0.5 | 1,377 | 12/19/2018 |
| 2.0.4 | 1,968 | 12/19/2018 |
| 1.1.1 | 96,983 | 11/8/2016 |
| 1.1.0 | 9,875 | 9/25/2016 |
| 1.0.8 | 4,302 | 3/10/2016 |
| 1.0.7 | 15,673 | 11/22/2015 |
| 1.0.6 | 2,571 | 11/10/2015 |
| 1.0.5 | 2,255 | 11/2/2015 |
| 1.0.4 | 2,462 | 10/1/2015 |
| 1.0.3 | 7,173 | 9/3/2014 |
| 1.0.2 | 2,349 | 2/18/2014 |
| 1.0.1 | 2,063 | 2/17/2014 |
| 1.0.0 | 2,562 | 10/29/2013 |
Added SelectMaybe alias for SelectMany.