Core.Maybe 6.0.0

dotnet add package Core.Maybe --version 6.0.0
NuGet\Install-Package Core.Maybe -Version 6.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Core.Maybe" Version="6.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Core.Maybe --version 6.0.0
#r "nuget: Core.Maybe, 6.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Core.Maybe as a Cake Addin
#addin nuget:?package=Core.Maybe&version=6.0.0

// Install Core.Maybe as a Cake Tool
#tool nuget:?package=Core.Maybe&version=6.0.0

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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Core.Maybe:

Package Downloads
Any

Anonymous value generator, supporting the 'Any.Whatever()' syntax proposed on the www.sustainabletdd.com blog. It makes use of the static usings and extension methods to achieve flexibility and extensibility.

TddXt.Any.TypeReflection

Package Description

TddXt.Any.TypeResolution

Package Description

AtmaFileSystem

Library for path value manipulation. This library concentrates on operations on path VALUES instead of the path locations, trying to make these operations as much type-safe and type-checked as possible.

NScan.Lib

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.0 38,982 3/30/2023
5.0.0 383 3/27/2023
4.0.0 209,842 4/25/2022
3.2.0 915 4/24/2022
3.1.0 724 4/18/2022
3.0.0 3,037 3/25/2022
2.4.1 7,117 2/27/2022
2.3.1 6,891 2/6/2022
2.3.0 691 2/1/2022
2.2.0 123,274 1/25/2022
2.1.0 13,696 1/20/2022
2.0.1 291 1/4/2022
2.0.0 375 1/4/2022
1.0.0 761 2/26/2020