NuGet Package May: A functional C# option type

Implements an option type (Strilanc.Value.May) that encourages usage based on pattern matching rather than ForceGetValue.

Also includes utility methods for producing, consuming and transforming May.

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

Info

Version: 1.0.2
Author(s): Craig Gidney
Last Update: Thursday, November 29, 2012
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/Strilanc/May
NuGet Url: https://www.nuget.org/packages/Strilanc.Value.May


Install
Install-Package Strilanc.Value.May
dotnet add package Strilanc.Value.May
paket add Strilanc.Value.May
Strilanc.Value.May Download (Unzip the "nupkg" after downloading)

6 packages depend on this package.


Tags



STATS

must-have-score

1.8

avg-downloads-per-day

10

days-since-last-release

2519