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("...
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.0+ - .NET Core 1.0+ - .NET Framework 2.0+ Supports Source Link
Async extensions for Nils Lück's Optional library. [DEPRECATED] Optional 5.0 now includes its own async extensions. This package is not going to be maintained.
C# implementation of functional concepts: Maybe (Option), Either (Result), Try, Memoize
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...
Nelibur.Sword is a library to take with you in the battle of Clean Code.
It's an implementation of "Maybe" and "Either" monads for C# with extra utils, extensions, and integrations.
C# Maybe monad
LINQ-like helpers and extension methods for IEnumerable. Type filters, Option-type conversions, flattening enumerables, fast single-element enumerables, and others.
A lightweight wrapper type for optional values.
A collection of useful types and operations on types.
Provides support polymorphic types in C#, such as Covariant and Invariant Maybe (Optional) types, and type unions.
Binaries for the Option type. Visit 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
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
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 ...