-
Notifications
You must be signed in to change notification settings - Fork 76
Map Exception and inner value #79
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels