map3
Map over three results.
Accepts three results and transform their successes into a result.
Return
the result of applying transform
to the success values of left
, middle
and right
. If left
is a Failure return that failure. Otherwise if middle
is a Failure return that failure. Otherwise if right
is a Failure return that failure.
See also
Parameters
left
the Result on the left.
U
the value type of the left
result.
middle
the Result in the middle.
V
the value type of the middle
result.
right
the Result on the right.
W
the value type of the right
result.
transform
a transforms of three arguments of type U
, V
and W
to an instance of type X
.
X
the success content of the returned result
E
the common error type of the results involved