Repository navigation
BasicResults 1.0.0
First release. Three small value types for modelling failure and absence without exceptions or nulls:
Error: a stable code and a human-readable description, compared by value.ResultandResult<T>: success or failure. They convert implicitly from a value or anError, and chain withMapandBind.Maybe<T>: an optional value with structural equality, andToResultfor when it becomes required.
Targets netstandard2.0 with no dependencies. Tested on .NET 8.
dotnet add package BasicResults