vkhorikov / CSharpFunctionalExtensions

Functional extensions for C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BindOnFailure?

dday4thedeceiver opened this issue · comments

What I'm trying to do is to get back on the Success track from Failure track. If this operation has failed, try this other one instead while moving to a new type.

Seems like, at least with match, I can return a K from a T, but not Result<K>. Or did I completely miss it?

Hi, it looks Compensate overloads will perfectly feed your needs.