Top 20 NuGet maybe Packages

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("...
Provides a class and a few extension methods to facilitate common operations with values that may or may not exist. Traditionally, programmers often use `null` references to represent values that "aren't there", but the problem is that this was never their intended purpose. - Languages like C# do...
A lightweight wrapper type for optional values.
Optional is a robust option/maybe type for C#.
.NET library that provide mainly functional features for C#. This means concept of Option (Monad), Result and ValueObject. Supported platforms: - .NET Standard 1.1+ - .NET Core 1.0+ - .NET Framework 2.0+ Supports Source Link
Async extensions for Nils Lück's Optional library.
Nelibur.Sword is a library to take with you in the battle of Clean Code.
LINQ-like helpers and extension methods for IEnumerable. Type filters, Option-type conversions, flattening enumerables, fast single-element enumerables, and others.
C# Maybe monad
Provides support polymorphic types in C#, such as Covariant and Invariant Maybe (Optional) types, and type unions.
This project provides the following monad implementations: * Maybe<T>
The option type in C# is used when an actual value might not exist for a named value or variable. An option has an underlying type and can hold a value of that type, or it might not have a value
A collection of useful types and operations on types.
Binaries for the Option type. Visit https://github.com/tejacques/Option for an overview and usage examples.
Succinc<T> is a .NET library that adds a number of functional features to C#: * Discriminated unions, * Pattern matching, * Partial applications, * "Implicitly" typed lambdas, * The ability to treat void methods as Unit functions, * Replacements for TryParse methods that return an Option<T> (or Mayb...
Inspired by Powershell, simple package that will remove the need to think of the name of some variables. Also some useful extension methods on IEnumerable type. Contains an Option<T> mondad Extensions on bool type IfTrue(doThis).Else(doThis) Check out the full project on GitHub https://github.com/s...
Yet another implementation of an option/optional type for .NET. An Optional type explicitly represents the type of a value that may or may not exist. While you can do this with nulls, that has many drawbacks. Some of the benefits of this library over some others include comprehensive equality supp...
Various useful functionality for Optional.
Useful Optional extensions for working with collections.
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 ...