Functional.Maybe
2.0.20
Install-Package Functional.Maybe -Version 2.0.20
dotnet add package Functional.Maybe --version 2.0.20
<PackageReference Include="Functional.Maybe" Version="2.0.20" />
paket add Functional.Maybe --version 2.0.20
#r "nuget: Functional.Maybe, 2.0.20"
// Install Functional.Maybe as a Cake Addin
#addin nuget:?package=Functional.Maybe&version=2.0.20
// Install Functional.Maybe as a Cake Tool
#tool nuget:?package=Functional.Maybe&version=2.0.20
Option types for C# with LINQ support and rich fluent syntax for many popular uses:
var maybeOne = "one".ToMaybe();
Maybe<string> maybeAnother;
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")
);
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | uap uap10.0 |
Windows Phone | wp8 wp81 wpa81 |
Windows Store | netcore netcore45 netcore451 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 1.0
- NETStandard.Library (>= 1.6.1)
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 |
|
Functional.Maybe.JsonConverter
A JSON.Net converter that allows serialization and deserialization of instances of Functional.Maybe |
|
Functional.Maybe.FluentAssertions
A small set of extensions for FluentAssertions for working with Functional.Maybe |
|
NScan.Adapter.ReadingCSharpSolution
Package Description |
|
NScan.Domain
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.20 | 303,430 | 3/29/2020 |
2.0.18 | 50,217 | 6/10/2019 |
2.0.17 | 456 | 6/10/2019 |
2.0.10 | 49,421 | 1/31/2019 |
2.0.9 | 2,347 | 12/24/2018 |
2.0.8 | 519 | 12/24/2018 |
2.0.7 | 672 | 12/19/2018 |
2.0.6 | 528 | 12/19/2018 |
2.0.5 | 510 | 12/19/2018 |
2.0.4 | 625 | 12/19/2018 |
1.1.1 | 78,272 | 11/8/2016 |
1.1.0 | 7,043 | 9/25/2016 |
1.0.8 | 2,984 | 3/10/2016 |
1.0.7 | 12,748 | 11/22/2015 |
1.0.6 | 1,457 | 11/10/2015 |
1.0.5 | 1,171 | 11/2/2015 |
1.0.4 | 1,387 | 10/1/2015 |
1.0.3 | 4,278 | 9/3/2014 |
1.0.2 | 1,184 | 2/18/2014 |
1.0.1 | 916 | 2/17/2014 |
1.0.0 | 1,129 | 10/29/2013 |
Migrated to Net Standart 1.0