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.

NuGet packages (6)

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

Package Downloads
UWP host for Globeport Elements
libaxolotl implementation from
Portable implementation of the Signal protocol.
TextSecure helper library for Universal Windows applications. Based on
libaxolotl implementation in C#, based on libaxolotl-java.

GitHub repositories (1)

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

Repository Stars
The .NET WhatsApp library

Version History

Version Downloads Last updated
1.0.2 42,464 11/29/2012
1.0.1 844 11/25/2012
1.0.0 640 11/25/2012