Core.Maybe 7.0.0

dotnet add package Core.Maybe --version 7.0.0                
NuGet\Install-Package Core.Maybe -Version 7.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="7.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Core.Maybe --version 7.0.0                
#r "nuget: Core.Maybe, 7.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=7.0.0

// Install Core.Maybe as a Cake Tool
#tool nuget:?package=Core.Maybe&version=7.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 net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • 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
7.0.0 2,258 7/19/2024
6.0.0 127,842 3/30/2023
5.0.0 434 3/27/2023
4.0.0 273,734 4/25/2022
3.2.0 977 4/24/2022
3.1.0 778 4/18/2022
3.0.0 3,163 3/25/2022
2.4.1 7,749 2/27/2022
2.3.1 7,133 2/6/2022
2.3.0 734 2/1/2022
2.2.0 162,244 1/25/2022
2.1.0 13,821 1/20/2022
2.0.1 318 1/4/2022
2.0.0 417 1/4/2022
1.0.0 818 2/26/2020