.NET library that provide mainly functional features for C#.
This means concept of Option, Result, Either and ValueObject.
- .NET Standard 1.0+
- .NET Core 1.0+
- .NET Framework 2.0+
Supports Source Link
Features implementations of some of the usual suspects from functional programming: option type (Maybe<T>), error types (Result<T, TError>, Outcome<T> and Fallible<T>) for Railway Oriented Programming, simple disjoint union (Either<T1, T2>), (finite and infinite) sequence generators and LINQ...
Codoxide.Outcome<T> is an Either monad (or Result monad) for .NET Core.It allows for elegant happy path and error path handling through method chaining made available through a number of Extension libraries.