Swift.
literals, such as when creating dictionaries. In this example, we specify the dictionary’s `Key` type explicitly while using a type placeholder for the values: enum UserRole { case local case remote } let latestMessages: [UserRole: _] = [ .local: "", .remote: "" ] This usage simplifies dictionary