Function Parameter Pattern Matching on multiple candidates?

Keep in mind bar cannot be between the clauses of another function. It needs to be before or after.