Builds deferrable instances from the given factory.
Lifts a non-strict value into the deferrable context.
Lifts a non-strict value into the deferrable context, but memoizes it for subsequent evaluations.
Turns the monadic context into one that exposes any errors that might have happened.
Turns the monadic context into one that exposes any errors that might have happened.
Given a deferrable, memoizes its result on the first evaluation, to be reused for subsequent evaluations.
Lifts a strict value into the deferrable context.
Lifts a strict value into the deferrable context.
Alias for Applicative.pure
.
Mirrors the source, but if an error happens, then fallback to other
.
Mirrors the source, but if an error happens, then fallback to other
.
Mirrors the source, but in case an error happens then use the given total function to fallback to a given element for certain errors.
Mirrors the source, but in case an error happens then use the given total function to fallback to a given element for certain errors.
See onErrorRecover for the alternative accepting a partial function.
Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given total function.
Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given total function.
See onErrorRecoverWith for the alternative accepting a partial function.
Mirrors the source, but in case an error happens then use the given partial function to fallback to a given element for certain errors.
Mirrors the source, but in case an error happens then use the given partial function to fallback to a given element for certain errors.
See onErrorHandle for the alternative accepting a total function.
Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given partial function.
Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given partial function.
See onErrorHandleWith for the alternative accepting a total function.
Lifts an error into context.
Lifts an error into context.
The Unit
lifted into the deferrable context.
A type-class describing computations that can be deferred.