on Mon Apr 04 2016, Sean Heber <[email protected]> wrote: > This has been a very long and complex thread, but have some of these > not-technically-mathy word pairs that have nice verb forms been > considered: > > union -> combine / combining > intersection -> intersect / intersecting > symmetricDifference -> split / splitting
Yes, some of them have been considered. > Example: > > var allowedUsers = Set<User>() > allowedUsers.combine(standardUsers) > allowedUsers.combine(superUsers) > > var users = allUsers > users.intersect(allowedUsers) > > let users = allUsers.intersecting(allowedUsers) > > l8r > Sean > >> On Apr 4, 2016, at 3:22 PM, Brent Royal-Gordon via swift-evolution >> <[email protected]> wrote: >> >>> Indeed, OED points out that modern usage is "chiefly military." Probably an >>> argument against its usage here. >> >> It seems to me that what you're sort of saying is "replaceWith", but >> that's kind of a mouthful. A quick thesaurus check suggests that the >> only decent single-world alternative would be "substitute", but that >> sounds like a regex operation. I think this is a dead end. >> >> -- >> Brent Royal-Gordon >> Architechies >> >> _______________________________________________ >> swift-evolution mailing list >> [email protected] >> https://lists.swift.org/mailman/listinfo/swift-evolution > > _______________________________________________ > swift-evolution mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-evolution -- Dave _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
