Type placeholders: краткий обзор новой фичи Swift 5.6, расширяющей возможности автоматического вывода типов компилятором:
— Swift by Sundell
— Hacking with Swift
New in Swift 5.6: We can now use type placeholders to select what generic types that we want the compiler to infer. Let’s take a look at how those placeholders work, and what kinds of situations that they could be really useful in.