code: public static <T> BooleanSupplier curry(Predicate<T> predicate, T value) {
          dbc.precondition(predicate != null, "cannot bind parameter of a null predicate");
          return () -> predicate.test(value);
      }
docs: Partial application of the parameter to a predicate.
  
  @param <T> the predicate parameter type
  @param predicate the predicate to be curried
  @param value the value to be curried
  @return the curried proposition