Does something like `flatMapLeft` exist? In the er...
# arrow
d
Does something like
flatMapLeft
exist? In the error case I want to attempt to recover. If I do recover I now want a
Right
, otherwise I want a new
Left
Copy code
someFailableCall
.flatMapLeft {
  tryRecovery(it)
}
.mapLeft { handleIfStillFailed(it) }
.map { handleSuccess(it) }