VOOZH about

URL: https://www.nuget.org/packages/Core.Maybe/

⇱ NuGet Gallery | Core.Maybe 7.0.0




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.
<PackageVersion Include="Core.Maybe" Version="7.0.0" />
 
Directory.Packages.props
<PackageReference Include="Core.Maybe" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Core.Maybe --version 7.0.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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.
#:package Core.Maybe@7.0.0
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Core.Maybe&version=7.0.0
 
Install as a Cake Addin
#tool nuget:?package=Core.Maybe&version=7.0.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.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 390,238 7/19/2024
6.0.0 211,501 3/30/2023
5.0.0 651 3/27/2023
4.0.0 391,613 4/25/2022
3.2.0 1,255 4/24/2022
3.1.0 1,012 4/18/2022
3.0.0 3,532 3/25/2022
2.4.1 8,927 2/27/2022
2.3.1 7,710 2/6/2022
2.3.0 991 2/1/2022
2.2.0 303,735 1/25/2022
2.1.0 14,249 1/20/2022
2.0.1 547 1/4/2022
2.0.0 659 1/4/2022
1.0.0 1,134 2/26/2020