Strilanc.Value.May 1.0.2

May: A functional C# option type

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
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.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.0.2 (current version) 9,354 11/29/2012
1.0.1 362 11/25/2012
1.0.0 205 11/25/2012