compare: allow trailing function varargs