code: public static <T, R> Supplier<R> curry(Function<T, R> function, T value) {
          dbc.precondition(function != null, "cannot bind parameter of a null function");
          return () -> function.apply(value);
      }
docs: Partial application of the parameter to a function.
  
  @param <T> the function parameter type
  @param <R> the function return type
  @param function the function to be curried
  @param value the value to be curried
  @return the curried supplier