class Fun {

    public static <T, R> Function<T, Result<R>>
    result1(final @NotNull ThrowingFunction<? super T, ? extends R> mayThrowOnApply) {
        return composeTry1(Result::success, Result::failure, mayThrowOnApply);
    }

    private  Fun();

}