One Set to Rule Them All: How to Obtain General Chemical Conditions via Bayesian Optimization over Curried Functions