Strilanc.Value.May 1.0.2

Implements an option type (Strilanc.Value.May<T>) that encourages usage based on pattern matching rather than ForceGetValue. Also includes utility methods for producing, consuming and transforming May<T>.

Note on null: May<T> treats null like any other value. May.NoValue is distinct from null, and both are distinct from ((object)null).Maybe().

Install-Package Strilanc.Value.May -Version 1.0.2
dotnet add package Strilanc.Value.May --version 1.0.2
<PackageReference Include="Strilanc.Value.May" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Strilanc.Value.May --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Strilanc.Value.May, 1.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Strilanc.Value.May as a Cake Addin
#addin nuget:?package=Strilanc.Value.May&version=1.0.2

// Install Strilanc.Value.May as a Cake Tool
#tool nuget:?package=Strilanc.Value.May&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added utility methods for working with sequences: WhereHasValue, MayAll, MayAggregate, MayMin, MayMax, MayMinBy, MayMaxBy, MayFirst, MayLast, and MaySingle.

Dependencies

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Strilanc.Value.May:

Package Downloads
JtlWawi.1-0-0
JTL Wawi DB Provider Class

Version History

Version Downloads Last updated
1.0.2 0 06.02.2022