zip
Description:
Combines the values of two results using the given function.
If two results hold or the function throws an exception, the returned result holds the exception.
Parameters:
zip_func |
a function applied to values |
second |
another result |
Returns:
the combined result |