```kotlin val validator: Validator<Pair<Int, String>> = whenPredicate( otherwise = alwaysInvalid("Not Handled"), { (_, unit) -> unit == "cm" } to cmValidator, { (_, unit) -> unit == "in" } to inValidator ) ```