docs: @SuppressWarnings("try")
      public static <A extends AutoCloseable, B> Try<Exception, B> withResources(
              CheckedSupplier<? extends Exception, A> aSupplier,
              CheckedFn1<? extends Exception, ? super A, ? extends Try<? extends Exception, ? extends B>> fn) {
          return trying(() -> {
              try (A resource = aSupplier.get()) {
                  return fn.apply(resource).<Exception, B>biMap(upcast(), upcast());
              }
          }).flatMap(id());
      }