All of the options I've seen suffer from a common problem: The order of parameters isn't obvious. If we use an additional keyword we can have a more readable syntax.
Example using "associate" and "with": associate *NewType* with *ExistingType* Positives: - Extremely clear, readable - Relatively short syntax Possible Negatives: - May not be easy to Google - Do multiple keywords fits Swift's general style? _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
