Evolving Label-Directed Tuple Assignments
Really interesting post from Erica Sadun on an undocumented feature of Swift - the use of tuple labels to mix and match tuple declarations with values. This is sometimes called a "tuple shuffle". Obscure and slightly complex.
Posted on May 9, 2017 |
← Previous Post
Next Post →