Functional.Maybe
Option types for C# with LINQ support and rich fluent syntax for many popular uses: var maybeOne = "one".ToMaybe(); Maybe<string> maybeAnother; var maybeBoth = from one in maybeOne from another in maybeAnother select one + another; maybeBoth.Match( both => Console.WriteLine("Result is: {0}", both), @else: () => Console.WriteLine("Result is Nothing, as one of the inputs was Nothing") );
Activity
- Latest release
- 6y ago
- Total releases
- 21
- Cadence
- ~34 days
- Last 12 months
- 0
Details
- First release
- Oct 29, 2013
Releases
| Version | Released | |
|---|---|---|
2.0.20
patch
| ||
2.0.18
patch
| ||
2.0.17
patch
| ||
2.0.10
patch
| ||
2.0.9
patch
| ||
2.0.8
patch
| ||
2.0.7
patch
| ||
2.0.6
patch
| ||
2.0.5
patch
| ||
2.0.4
major
| ||
1.1.1
patch
| ||
1.1.0
minor
| ||
1.0.8
patch
| ||
1.0.7
patch
| ||
1.0.6
patch
| ||
1.0.5
patch
| ||
1.0.4
patch
| ||
1.0.3
patch
| ||
1.0.2
patch
| ||
1.0.1
patch
| ||
1.0.0
initial
|