class Fun {

    public static <R> Supplier<Optional<R>>
    tryOrOptional0(final @NotNull ThrowingSupplier<R> mayThrowOnGet) {
        return compose0(result0(mayThrowOnGet), Result::toOptional);
    }

    private  Fun();

}