You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Any reason a chained .Map(...).MapException(...) wouldn't do? My initial thought is that it seems a bit too much of an edge case to have a dedicated method for the purpose.
In the following code
I wish to transform the value
(A, Option<B, Exception>)
toOption<(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.The text was updated successfully, but these errors were encountered: