v0.1.0: Accept proc as parameter, not just a hash for comparison