def select_and_combine(i, obj, others, combine_func, *args, **kwargs):
    """Combine `obj` and an element from `others` at `i` using `combine_func`."""
    return combine_func(obj, others[i], *args, **kwargs)