Here documentation
Badges
Build | |
Coverage | Coveralls SonarQube |
Quality | |
Nuget | |
License |
Introduction
Here is a .NET library that mainly provides functional features for C#. It handles and encapsulates the logic of functional based objects including the following ones.
The
Option<T>
. This structure encapsulates the concept of having a value or not. This mechanic safely handles a traditional null return. For more details onOption<T>
usage see the following tips.The
Either<TLeft, TRight>
. This structure encapsulates the concept of having a success value (right) or a failure (left). This provides a better management of method returns that can generate error by clarifying the error case. For more details onEither<TLeft, TRight>
usage see the following tips.The
Result
. This structure encapsulates treatments results. This provides an improved return state, and also a better error management. For more details onResult
usage see the following tips.The
ValueObject
. This structure encapsulates boilerplate code required to compare objects on their values rather than their references. This allows an easy creation of comparable/interchangeable objects. For more details onValueObject
usage see the following tips.
You can find library sources on GitHub.
Targets
- .NET Standard 1.0
- .NET Core 1.0
- .NET Framework 2.0
Supports Source Link
Dependencies
No package dependencies.
Installation
Here is available on NuGet
PM> Install-Package Here