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.

Release Notes

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


This package has no dependencies.

Showing the top 1 GitHub repositories that depend on Strilanc.Value.May:

Repository Stars
The .NET WhatsApp library

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
1.0.2 33,806 11/29/2012
1.0.1 774 11/25/2012
1.0.0 569 11/25/2012