The Swift Programming Language (Swift 4.1): Patterns