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 (8)
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 | 369,049 | 3/29/2020 |
2.0.18 | 50,669 | 6/10/2019 |
2.0.17 | 482 | 6/10/2019 |
2.0.10 | 53,106 | 1/31/2019 |
2.0.9 | 2,432 | 12/24/2018 |
2.0.8 | 547 | 12/24/2018 |
2.0.7 | 833 | 12/19/2018 |
2.0.6 | 560 | 12/19/2018 |
2.0.5 | 537 | 12/19/2018 |
2.0.4 | 659 | 12/19/2018 |
1.1.1 | 78,917 | 11/8/2016 |
1.1.0 | 7,085 | 9/25/2016 |
1.0.8 | 3,029 | 3/10/2016 |
1.0.7 | 13,024 | 11/22/2015 |
1.0.6 | 1,491 | 11/10/2015 |
1.0.5 | 1,205 | 11/2/2015 |
1.0.4 | 1,423 | 10/1/2015 |
1.0.3 | 4,437 | 9/3/2014 |
1.0.2 | 1,219 | 2/18/2014 |
1.0.1 | 946 | 2/17/2014 |
1.0.0 | 1,172 | 10/29/2013 |
Migrated to Net Standart 1.0