Where “where” May Be Used in Swift

Marcin Krzyżanowski: The fact is you can use where keyword in a case label of a switch statement, a catch clause of a do statement, or in the case condition of an if, while, guard, for-in statement, or to define type constraints. There are no Python-style list or dictionary comprehensions, though.