Closed DavidArno closed 4 years ago
Add the means to do something like:
var result = ValueOrError switch { (Value, x, _) => $"value-{x}", (Error, _, x) => $"error-{x}" };
to the ValueOrError and ValueOrError<TV,TE> types via deconstructors.
ValueOrError
ValueOrError<TV,TE>
Done.
Add the means to do something like:
to the
ValueOrError
andValueOrError<TV,TE>
types via deconstructors.