Reify thrown non-fatal exceptions as a value.
Ensures f
is sequenced after fa
, whether the latter succeeded or not.
Ensures f
is sequenced after fa
, whether the latter succeeded or not.
Useful for releasing resources that may have been acquired in order to
produce fa
.
Handle caught exceptions using the given partial function, reraising any unhandled exceptions.
Handle caught non-fatal exceptions using the given partial function, reraising any unhandled exceptions.
Handle caught non-fatal exceptions using the given effectful partial function, reraising any unhandled exceptions.
Handle caught exceptions using the given effectful partial function, reraising any unhandled exceptions.