Applies f if this is a failure or s if this is a successful value.
Applies f if this is a failure or s if this is a successful value.
the function to apply on failure
the function to apply on successful A value
the results of applying appropriate function
Returns successful value, or throws exception.
(Since version 2.3.6) For internal use, will be made private