In the following code
IEnumerable<(A, Option<B, Exception>)> result = aValues
.Select(a => (a, a.ComputeB())
I wish to transform the value (A, Option<B, Exception>) to Option<(A, B), (A, Exception)>.
For this operation a Map operation that transforms both, the inner value or the exception value is missing. It is only possible to specify one mapper instead of a mapper for both cases.
In the following code
I wish to transform the value
(A, Option<B, Exception>)toOption<(A, B), (A, Exception)>.For this operation a
Mapoperation that transforms both, the inner value or the exception value is missing. It is only possible to specify one mapper instead of a mapper for both cases.