An Option type for C# (retargeted for netstandard).
Forked from https://github.com/tejacques/Option.
See https://github.com/bentefay/Option for documentation.
A package containing an Option<T> class that functions like a Haskell Maybe type. It is meant to replace certain instances where null is normally used.
Provides a type to represent the lack of a value. The behaviour is comparable to using nullable reference types with forced null checks before dereferencing. The package also provides a set of extension methods to enable a fluent functional pattern using Map and Filter.
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...
More information